Skip to content

Commit 8206ba8

Browse files
committed
Tutorial: Fixed id as key in another file
1 parent 66816f3 commit 8206ba8

File tree

1 file changed

+1
-1
lines changed
  • apps/svelte.dev/content/tutorial/02-advanced-svelte/05-advanced-transitions/01-deferred-transitions/+assets/app-a/src/lib

1 file changed

+1
-1
lines changed

apps/svelte.dev/content/tutorial/02-advanced-svelte/05-advanced-transitions/01-deferred-transitions/+assets/app-a/src/lib/TodoList.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
</script>
44

55
<ul class="todos">
6-
{#each todos as todo (todo)}
6+
{#each todos as todo (todo.id)}
77
<li
88
class={{ done: todo.done }}
99
>

0 commit comments

Comments
 (0)