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.
This commit is contained in:
Jae Hun Lee authored and Dan Abramov committed 2016-10-26 14:17:21 +01:00
1 parent d49dfe7da4
commit ce2dee32fd
1 file changed
+1 -1
+1 -1
View File
@@ -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:
<ListItem value={number} />
);