Skip to content

Commit

Permalink
Fix lazy loading
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-md committed Oct 16, 2024
1 parent 06ec6f7 commit b918a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/SupportedNetworks/Networks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ const SupportedNetworks: React.FC = () => {

useEffect(() => {
if (
scrollPosition > page * (isSmOrHigher ? 2000 : 3000) &&
scrollPosition > page * (isSmOrHigher ? 1800 : 3000) &&
visibleResults.length < searchResults.length
) {
void push({ query: { ...query, page: page + 1 } }, undefined, {
Expand Down

0 comments on commit b918a4d

Please sign in to comment.