Skip to content

Commit afe9327

Browse files
authored
[docs] Consistency with example above (sveltejs#143)
1 parent 3a4f15e commit afe9327

File tree

1 file changed

+2
-2
lines changed
  • content/tutorial/01-svelte/04-logic/06-await-blocks

1 file changed

+2
-2
lines changed

content/tutorial/01-svelte/04-logic/06-await-blocks/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Most web applications have to deal with asynchronous data at some point. Svelte
1919
If you know that your promise can't reject, you can omit the `catch` block. You can also omit the first block if you don't want to show anything until the promise resolves:
2020

2121
```svelte
22-
{#await promise then value}
23-
<p>the value is {value}</p>
22+
{#await promise then number}
23+
<p>The number is {number}</p>
2424
{/await}
2525
```

0 commit comments

Comments
 (0)