perf(home): double increaseViewportBy in Virtuoso so it's harder to reach the bottom of the loaded posts on low resource

This commit is contained in:
plebeius.eth
2023-10-19 11:14:12 +02:00
parent a81d642acb
commit 06f5226cd6

View File

@@ -48,7 +48,7 @@ const Home: FC = () => {
<Header />
<div className={styles.content}>
<Virtuoso
increaseViewportBy={{ bottom: 600, top: 600 }}
increaseViewportBy={{ bottom: 1200, top: 1200 }}
overscan={600}
totalCount={feed?.length || 0}
data={feed}