Skip to content

fix: resolve duplicate pools in Explore page Pools list#8014

Closed
leno23 wants to merge 1 commit into
Uniswap:mainfrom
leno23:fix/duplicate-pools-list
Closed

fix: resolve duplicate pools in Explore page Pools list#8014
leno23 wants to merge 1 commit into
Uniswap:mainfrom
leno23:fix/duplicate-pools-list

Conversation

@leno23

@leno23 leno23 commented Mar 25, 2026

Copy link
Copy Markdown

Fixes issue #7984 where pools were displayed twice in the Pools list.

The issue was caused by incorrect client-side pagination logic. The page variable is 0-indexed, but the slice calculation was using 'page * pageSize' which resulted in displaying accumulated pools from previous pages.

Changed slice calculation from 'page * pageSize' to '(page + 1) * pageSize' to correctly display only the pools for the current page.

Fixes issue Uniswap#7984 where pools were displayed twice in the Pools list.

The issue was caused by incorrect client-side pagination logic. The page
variable is 0-indexed, but the slice calculation was using 'page * pageSize'
which resulted in displaying accumulated pools from previous pages.

Changed slice calculation from 'page * pageSize' to '(page + 1) * pageSize'
to correctly display only the pools for the current page.
@leno23

leno23 commented Jun 18, 2026

Copy link
Copy Markdown
Author

Closing this stale PR because it has been open for nearly three months with no review, comments, maintainer activity, or clear merge path. Thanks.

@leno23 leno23 closed this Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant