質問編集履歴
2
記載ミス
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
Warning: Each child in a list should have a unique "key" prop.
|
1
|
+
Warning: Each child in a list should have a unique "key" prop.
|
body
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
```
|
10
10
|
Warning: Each child in a list should have a unique "key" prop.
|
11
11
|
|
12
|
-
|
12
|
+
See https://fb.me/react-warning-keys for more information.
|
13
13
|
```
|
14
14
|
|
15
15
|
### 該当のソースコード
|
1
記載ミス
title
CHANGED
File without changes
|
body
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
### 該当のソースコード
|
16
16
|
|
17
17
|
```js
|
18
|
-
{
|
18
|
+
{hoge.map((name, index) => (
|
19
|
-
<
|
19
|
+
<Hoge onClick={handleClick} key={index} />
|
20
20
|
))}
|
21
21
|
```
|