From 0b35de6c8f0f5d35bbceebe2a17a4779ca3bed5f Mon Sep 17 00:00:00 2001 From: Jae Hun Lee Date: Wed, 26 Oct 2016 00:26:51 +1100 Subject: [PATCH] Update lists-and-keys.md 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 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: );