From a234ac87b806930d14b617adfb24109dbf4e73c2 Mon Sep 17 00:00:00 2001 From: LiDonglin <4388193@qq.com> Date: Tue, 30 Jan 2018 16:25:25 +0800 Subject: [PATCH] Fix warning on SectionList's tutorial --- docs/docs/0.51/using-a-listview.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/docs/0.51/using-a-listview.md b/docs/docs/0.51/using-a-listview.md index 03fcd97..bf5606e 100644 --- a/docs/docs/0.51/using-a-listview.md +++ b/docs/docs/0.51/using-a-listview.md @@ -66,6 +66,7 @@ export default class SectionListBasics extends Component { ]} renderItem={({item}) => {item}} renderSectionHeader={({section}) => {section.title}} + keyExtractor={(item, index) => index} /> );