Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: On Optimism it shows New on the list but 0 inside #264

Merged
merged 1 commit into from
Jul 1, 2023
Merged

Conversation

karelianpie
Copy link
Member

Description

  • Check if apy type is "new" and if so display the "new" label rather than 0%
  • Check if currentVault.apy?.composite?.boost is present to show the boost banner (not 100% sure about this one)

Related Issue

Fixes #263

Motivation and Context

Consistency across list and detail view

@karelianpie karelianpie self-assigned this Jun 30, 2023
@vercel
Copy link

vercel bot commented Jun 30, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
yearnfi ✅ Ready (Inspect) Visit Preview Jun 30, 2023 9:58am

@Majorfi Majorfi added this pull request to the merge queue Jul 1, 2023
Merged via the queue into main with commit 75a3c6c Jul 1, 2023
9 checks passed
@Majorfi Majorfi deleted the issues/263 branch July 1, 2023 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🟢 Done
Development

Successfully merging this pull request may close these issues.

Bug: On Optimism it shows New on the list but 0 inside
2 participants