diff --git a/site/content/tutorial/04-logic/05-keyed-each-blocks/app-a/Thing.svelte b/site/content/tutorial/04-logic/05-keyed-each-blocks/app-a/Thing.svelte index cd38c46bd0..e91026fb98 100644 --- a/site/content/tutorial/04-logic/05-keyed-each-blocks/app-a/Thing.svelte +++ b/site/content/tutorial/04-logic/05-keyed-each-blocks/app-a/Thing.svelte @@ -15,7 +15,7 @@ // ...but the "emoji" variable is fixed upon initialisation of the component const emoji = emojis[name]; - // when you remove first thing, it will remove items at the end of the block + // observe in the console which entry is removed onDestroy(() => { console.log('thing destroyed: ' + name) }); diff --git a/site/content/tutorial/04-logic/05-keyed-each-blocks/app-b/Thing.svelte b/site/content/tutorial/04-logic/05-keyed-each-blocks/app-b/Thing.svelte index cd38c46bd0..e91026fb98 100644 --- a/site/content/tutorial/04-logic/05-keyed-each-blocks/app-b/Thing.svelte +++ b/site/content/tutorial/04-logic/05-keyed-each-blocks/app-b/Thing.svelte @@ -15,7 +15,7 @@ // ...but the "emoji" variable is fixed upon initialisation of the component const emoji = emojis[name]; - // when you remove first thing, it will remove items at the end of the block + // observe in the console which entry is removed onDestroy(() => { console.log('thing destroyed: ' + name) });