Skip to content

Feat/show apy errors#591

Merged
chad-js merged 10 commits intomainfrom
feat/show-apy-errors
Feb 23, 2026
Merged

Feat/show apy errors#591
chad-js merged 10 commits intomainfrom
feat/show-apy-errors

Conversation

@chad-js
Copy link
Collaborator

@chad-js chad-js commented Feb 23, 2026

Desktop leverage token table
Screenshot 2026-02-23 at 10 21 22 AM

Desktop leverage token details page
Screenshot 2026-02-23 at 10 21 15 AM

Mobile leverage tokens details page
Screenshot 2026-02-23 at 10 20 55 AM

Mobile leverage tokens table
Screenshot 2026-02-23 at 10 25 04 AM

@vercel
Copy link

vercel bot commented Feb 23, 2026

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

Project Deployment Actions Updated (UTC)
seamless-app Ready Ready Preview, Comment Feb 23, 2026 4:51pm

Request Review

Comment on lines +188 to +196
errors: {
stakingYield: aprDataResult.status === 'rejected' ? aprDataResult.reason : null,
restakingYield: aprDataResult.status === 'rejected' ? aprDataResult.reason : null,
borrowRate: borrowApyDataResult.status === 'rejected' ? borrowApyDataResult.reason : null,
rewardsAPR:
rewardsAPRDataResult.status === 'rejected' ? rewardsAPRDataResult.reason : null,
rewardTokens:
rewardsAPRDataResult.status === 'rejected' ? rewardsAPRDataResult.reason : null,
},
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fyi we're not actually using this hook useLeverageTokenApy anywhere atm, but I added this here for consistency

@chad-js chad-js merged commit 37160a7 into main Feb 23, 2026
7 checks passed
@chad-js chad-js deleted the feat/show-apy-errors branch February 23, 2026 20:11
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.

Check error handling on APYs. When 0 or error is returned that should be shown instead of 0 or negative APY

2 participants