Browse Source

[RN] Add missing key prop to Android page indicator

master
zbettenbuk 7 years ago
parent
commit
1eac4c51ca
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      react/features/base/react/components/native/PagedList.android.js

+ 1
- 0
react/features/base/react/components/native/PagedList.android.js View File

@@ -123,6 +123,7 @@ class PagedList extends AbstractPagedList {
123 123
         return page.component
124 124
             ? <TouchableOpacity
125 125
                 disabled = { disabled }
126
+                key = { index }
126 127
                 onPress = { this._onIconPress(index) }
127 128
                 style = { styles.pageIndicator } >
128 129
                 <View style = { styles.pageIndicator }>

Loading…
Cancel
Save