Skip to content

Commit e87aeaa

Browse files
committed
fix: Update examples removing unused index
1 parent c03f029 commit e87aeaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/learn/choosing-the-state-structure.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ export default function Menu() {
460460
<>
461461
<h2>What's your travel snack?</h2>
462462
<ul>
463-
{items.map((item, index) => (
463+
{items.map((item) => (
464464
<li key={item.id}>
465465
<input
466466
value={item.title}
@@ -527,7 +527,7 @@ export default function Menu() {
527527
<>
528528
<h2>What's your travel snack?</h2>
529529
<ul>
530-
{items.map((item, index) => (
530+
{items.map((item) => (
531531
<li key={item.id}>
532532
<input
533533
value={item.title}

0 commit comments

Comments
 (0)