Closed henrio123 closed 6 months ago
The update in the useAllStrategiesData
function brings an enhanced method for determining sommToken
by incorporating a check for the chain
object's unsupported
property. This refinement ensures that the selection of sommToken
aligns more accurately with the given chain information, optimizing the strategy data retrieval process based on the chain's support status.
File Path | Change Summary |
---|---|
src/data/hooks/useAllStrategiesData.ts |
Updated sommToken determination logic to include chain?.unsupported check. |
🐇✨
In the realm of code, where logic threads dance,
A rabbit hopped in, with an update glance.
"Check the chain," it whispered, with a twirl,
For a token true, in a digital swirl.
With every hop, it left behind,
A trail of code, so neatly aligned.
🌟🐾
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?
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
sommelier-web | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Mar 11, 2024 9:33am |
fix issue from this pr- https://github.com/PeggyJV/sommelier-strangelove/pull/1596
Summary by CodeRabbit
sommToken
in strategies, ensuring compatibility with unsupported blockchain networks.