Closed MaxMillington closed 1 day ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
osmosis-frontend | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 2, 2024 11:13pm |
The changes introduce a new constant FILTERABLE_IDS
in both the pools-table.tsx
and index.ts
files. In pools-table.tsx
, it contains the string element "2159"
and is used to filter out pool items with matching IDs in the useMemo
hook for poolsData
. In index.ts
, FILTERABLE_IDS
is conditionally set based on the IS_TESTNET
environment variable, either being an empty array or containing "2159"
, which is then used to filter pool results in the getPools
function.
File Path | Change Summary |
---|---|
packages/web/components/complex/pools-table.tsx | Added a constant FILTERABLE_IDS with the value ["2159"] and updated filtering logic in useMemo for poolsData . |
packages/server/src/queries/complex/pools/index.ts | Added a constant FILTERABLE_IDS conditionally set based on IS_TESTNET , used to filter pools in getPools . |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
I commented in slack, but I'm also no longer seeing the Cosmo pool in prod
What is the purpose of the change:
Filtering out pool 2159
Linear Task
https://linear.app/osmosis/issue/POL-1363/filter-out-pool-2159
Brief Changelog
Testing and Verifying
This change has been tested locally by rebuilding the website and verified content and links are expected