Add missing keyExtractors

This commit is contained in:
Brandon Presley 2023-08-29 11:22:15 +12:00
parent da72692616
commit 103ae5587d
2 changed files with 2 additions and 0 deletions

View File

@ -93,6 +93,7 @@ export default function GraphsList() {
style={{ flex: 1 }} style={{ flex: 1 }}
renderItem={renderItem} renderItem={renderItem}
data={bests} data={bests}
keyExtractor={(set) => set.name}
onEndReached={next} onEndReached={next}
/> />
)} )}

View File

@ -201,6 +201,7 @@ export default function StartPlan() {
{counts && ( {counts && (
<FlatList <FlatList
data={counts} data={counts}
keyExtractor={(count) => count.name}
renderItem={(props) => ( renderItem={(props) => (
<View> <View>
<StartPlanItem <StartPlanItem