diff --git a/src/libraries/ViewPager/index.js b/src/libraries/ViewPager/index.js index b786ad1..4727505 100644 --- a/src/libraries/ViewPager/index.js +++ b/src/libraries/ViewPager/index.js @@ -260,7 +260,7 @@ export default class ViewPager extends PureComponent { } keyExtractor (item, index) { - return index; + return index.toString(); } renderRow ({ item, index }) { @@ -316,7 +316,6 @@ export default class ViewPager extends PureComponent { style={[style, { flex: 1 }]} {...gestureResponder}> );