소스 검색

[RN] Add missing key prop to Android page indicator

master
zbettenbuk 7 년 전
부모
커밋
1eac4c51ca
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      react/features/base/react/components/native/PagedList.android.js

+ 1
- 0
react/features/base/react/components/native/PagedList.android.js 파일 보기

123
         return page.component
123
         return page.component
124
             ? <TouchableOpacity
124
             ? <TouchableOpacity
125
                 disabled = { disabled }
125
                 disabled = { disabled }
126
+                key = { index }
126
                 onPress = { this._onIconPress(index) }
127
                 onPress = { this._onIconPress(index) }
127
                 style = { styles.pageIndicator } >
128
                 style = { styles.pageIndicator } >
128
                 <View style = { styles.pageIndicator }>
129
                 <View style = { styles.pageIndicator }>

Loading…
취소
저장