From 670f4580568fe8ea31097981ba2d59c33daf0725 Mon Sep 17 00:00:00 2001 From: Simon H <5968653+dummdidumm@users.noreply.github.com> Date: Fri, 16 Dec 2022 10:33:36 +0100 Subject: [PATCH] [docs] adjust code snippet to conform with previous one Backported from https://github.com/sveltejs/learn.svelte.dev/pull/143 --- site/content/tutorial/04-logic/06-await-blocks/text.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/site/content/tutorial/04-logic/06-await-blocks/text.md b/site/content/tutorial/04-logic/06-await-blocks/text.md index 0d47dcde95..1814681341 100644 --- a/site/content/tutorial/04-logic/06-await-blocks/text.md +++ b/site/content/tutorial/04-logic/06-await-blocks/text.md @@ -19,7 +19,7 @@ Most web applications have to deal with asynchronous data at some point. Svelte 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: ```html -{#await promise then value} -

the value is {value}

+{#await promise then number} +

the number is {number}

{/await} -``` \ No newline at end of file +```