From ce2dee32fd7cadaa6760b77387c2663624abf537 Mon Sep 17 00:00:00 2001 From: Jae Hun Lee Date: Thu, 27 Oct 2016 00:17:21 +1100 Subject: [PATCH] Update lists-and-keys.md (#8090) There is mismatching variable name both definition and usage. In line 156, an argument name called item is change to match the usage in line 158. --- docs/docs/lists-and-keys.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/lists-and-keys.md b/docs/docs/lists-and-keys.md index 74ea0ab9cd..14a346f617 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: );