fix: remove keyExtractor from flashlist (untested)
This commit is contained in:
parent
60a95aba10
commit
5afcb7b330
1 changed files with 1 additions and 4 deletions
|
|
@ -60,15 +60,12 @@ export default function AddonPage<T extends object>({ card: CardComponent, ...pr
|
|||
<FlashList
|
||||
data={data}
|
||||
extraData={search}
|
||||
keyExtractor={(i: any) => i?.id}
|
||||
estimatedItemSize={136}
|
||||
ListHeaderComponent={headerElement}
|
||||
contentContainerStyle={{ padding: 8, paddingHorizontal: 12 }}
|
||||
ItemSeparatorComponent={() => <View style={{ height: 8 }} />}
|
||||
ListFooterComponent={props.ListFooterComponent}
|
||||
renderItem={({ item }: any) => (
|
||||
<CardComponent item={item} />
|
||||
)}
|
||||
renderItem={({ item }: any) => <CardComponent item={item} />}
|
||||
/>
|
||||
{(props.fetchFunction ?? props.onFabPress) && <FloatingActionButton
|
||||
icon={findAssetId("PlusLargeIcon")}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue