Skip to content

Conversation

@DanielSchiavini
Copy link
Collaborator

@DanielSchiavini DanielSchiavini commented Nov 4, 2025

@vercel
Copy link

vercel bot commented Nov 4, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
curve-dapp Ready Ready Preview Comment Nov 7, 2025 3:43pm
curve-dapp-storybook Ready Ready Preview Comment Nov 7, 2025 3:43pm

// migration from v1 to v2: add deprecated filter
migrate: (oldValue, initial) => [...initial.filter((i) => !oldValue.some((o) => o.id === i.id)), ...oldValue],
}
const migration: MigrationOptions<ColumnFiltersState> = { version: 2 }
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need for the migration anymore, we don't keep the defaultValues in local storage

Copy link
Collaborator

@0xAlunara 0xAlunara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approved, but actually when going to https://curve-dapp-git-fix-dex-small-pools-curvefi.vercel.app/dex/plasma/pools?sort=-tvl I'm still seeing more than 10 pools, even though I've enabled "hide small pools" 🤔

It works for Ethereum, but not Plasma. Perhaps lite networks are treated differently?

EDIT: I'm trying other networks and it's just Plasma that doesn't seem to work, not sure what's going on here...

@DanielSchiavini
Copy link
Collaborator Author

EDIT: I'm trying other networks and it's just Plasma that doesn't seem to work, not sure what's going on here...

Well, the 10th pool there has 0 liquidity.. So all pools with the same liquidity are shown. I think that's kind of OK, because it would be pretty random to hide pools that have the same liquidity 🤔 and quite hard with the current solution. What do you think?

0xAlunara
0xAlunara previously approved these changes Nov 7, 2025
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.

3 participants