Skip to content

Commit 2ced110

Browse files
committed
Merge pull request #62 from alexnaldo/patch-2
React warning keys (example project)
2 parents 3f0d97c + 41a1aef commit 2ced110

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

twitter-example/pages/HomePage.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class HomePage extends React.Component {
1919
this.state = {
2020
tweets: [
2121
{
22+
key: 1,
2223
text: 'The React Native Router is awesome!',
2324
user: {
2425
name: 'Tristan Edwards',
@@ -27,6 +28,7 @@ class HomePage extends React.Component {
2728
},
2829
},
2930
{
31+
key: 2,
3032
text: 'Hello world!',
3133
user: {
3234
name: 'Leonard Pauli',

0 commit comments

Comments
 (0)