Skip to content

Commit

Permalink
chore: load next 10 sections when end is reached
Browse files Browse the repository at this point in the history
  • Loading branch information
dblandin committed Aug 2, 2024
1 parent 204d246 commit c3f6838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/Scenes/HomeView/HomeView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const HomeView: React.FC = () => {
return <Section section={item} />
}}
ItemSeparatorComponent={() => <Spacer y={2} />}
onEndReached={() => loadNext(1)}
onEndReached={() => loadNext(10)}
ListFooterComponent={
hasNext ? (
<Flex width="100%" justifyContent="center" alignItems="center" height={200}>
Expand Down

0 comments on commit c3f6838

Please sign in to comment.