diff --git a/docs/docs/lists-and-keys.md b/docs/docs/lists-and-keys.md index 74ea0ab9cd41..14a346f61778 100644 --- a/docs/docs/lists-and-keys.md +++ b/docs/docs/lists-and-keys.md @@ -153,7 +153,7 @@ function ListItem(props) { function NumberList(props) { const numbers = props.numbers; - const listItems = numbers.map((item) => + const listItems = numbers.map((number) => // Wrong! The key should have been specified here: );