Skip to content

Commit 4cc439a

Browse files
authored
[docs] update 03-each-blocks sample for readable (#6907)
1 parent 4d4f959 commit 4cc439a

File tree

1 file changed

+6
-4
lines changed
  • site/content/examples/03-logic/03-each-blocks

1 file changed

+6
-4
lines changed

site/content/examples/03-logic/03-each-blocks/App.svelte

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@
1010

1111
<ul>
1212
{#each cats as { id, name }, i}
13-
<li><a target="_blank" href="https://www.youtube.com/watch?v={id}">
14-
{i + 1}: {name}
15-
</a></li>
13+
<li>
14+
<a target="_blank" href="https://www.youtube.com/watch?v={id}">
15+
{i + 1}: {name}
16+
</a>
17+
</li>
1618
{/each}
17-
</ul>
19+
</ul>

0 commit comments

Comments
 (0)