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: show APR instead of APY #448

Merged
merged 1 commit into from
Aug 12, 2022
Merged

Conversation

gregdhill
Copy link
Member

Signed-off-by: Gregory Hill [email protected]

Quick replace of only the places where we display "APY", still need to change variable names etc..

Signed-off-by: Gregory Hill <[email protected]>
@vercel
Copy link

vercel bot commented Aug 12, 2022

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

Name Status Preview Updated
interbtc-ui-interlay ✅ Ready (Inspect) Visit Preview Aug 12, 2022 at 0:26AM (UTC)
interbtc-ui-interlay-testnet ✅ Ready (Inspect) Visit Preview Aug 12, 2022 at 0:26AM (UTC)
interbtc-ui-kintsugi ✅ Ready (Inspect) Visit Preview Aug 12, 2022 at 0:26AM (UTC)
interbtc-ui-kintsugi-testnet ✅ Ready (Inspect) Visit Preview Aug 12, 2022 at 0:26AM (UTC)

@github-actions
Copy link

Running Lighthouse audit...

Copy link
Contributor

@peterslany peterslany left a comment

Choose a reason for hiding this comment

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

Nice update 👍 I think the locale key should be changed to keep it consistent with its text content.

@@ -46,7 +46,7 @@
"update": "Update",
"collateralization": "Collateralization",
"fees_earned": "Fees earned",
"apy": "APY",
"apy": "APR",
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should change the locale text key to "apr" to keep the codebase clear.

Copy link
Contributor

@crypto-engineer crypto-engineer left a comment

Choose a reason for hiding this comment

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

LGTM

@gregdhill gregdhill merged commit fa8d328 into interlay:master Aug 12, 2022
@gregdhill gregdhill deleted the fix/apy-apr branch August 12, 2022 16:07
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.

None yet

4 participants