Skip to content

Commit f21f606

Browse files
authored
Fix syntax alignment and visiblity for await example in docs
Updated the alignment and visiblity for the await example.
1 parent da00abe commit f21f606

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

documentation/docs/03-template-syntax/05-await.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ Similarly, if you only want to show the error state, you can omit the `then` blo
7070
```
7171

7272
> [!NOTE] You can use `#await` with [`import(...)`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import) to render components lazily:
73-
>
74-
> ```svelte
75-
> {#await import('./Component.svelte') then { default: Component }}
76-
> <Component />
77-
> {/await}
78-
> ```
73+
74+
```svelte
75+
{#await import('./Component.svelte') then { default: Component }}
76+
<Component />
77+
{/await}
78+
```
7979

0 commit comments

Comments
 (0)