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.
Jae Hun Lee committed
Oct 27, 2016 at 00:17 UTC
ce2dee32fd7cadaa6760b77387c2663624abf537
1 file changed
+1
-1
docs/docs/lists-and-keys.md
+1
-1
@@ -153,7 +153,7 @@ function ListItem(props) {
153
154
function NumberList(props) {
155
const numbers = props.numbers;
156
- const listItems = numbers.map((item) =>
156
+ const listItems = numbers.map((number) =>
157
// Wrong! The key should have been specified here:
158
<ListItem value={number} />
159
);