Skip to content

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

Open
leno23 wants to merge 1 commit intoUniswap:mainfrom
leno23:fix/duplicate-pools-list
Open

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

Conversation

@leno23
Copy link
Copy Markdown

@leno23 leno23 commented Mar 25, 2026

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.
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