Skip to content

Commit

Permalink
fix: remove keyExtractor from flashlist (untested)
Browse files Browse the repository at this point in the history
  • Loading branch information
pylixonly committed Aug 15, 2024
1 parent 60a95ab commit 5afcb7b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/core/ui/components/AddonPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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")}
Expand Down

0 comments on commit 5afcb7b

Please sign in to comment.