-
Notifications
You must be signed in to change notification settings - Fork 12
refactor(explorer): hastings to fiat method name #1015
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
refactor(explorer): hastings to fiat method name #1015
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Skipped Deployments
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR refactors the currency conversion function by renaming siacoinToFiat to hastingsToFiat to better reflect the unit being converted. Key changes include:
- Updating the function name and its usage in HostSettings.tsx.
- Renaming the conversion function in lib/currency.ts.
- Adjusting function calls in Contract/index.tsx and opengraph-image.tsx to utilize the new name.
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
File | Description |
---|---|
apps/explorer/components/Host/HostSettings.tsx | Updated import and function calls to use hastingsToFiat |
apps/explorer/lib/currency.ts | Renamed siacoinToFiat to hastingsToFiat and updated parameter accordingly |
apps/explorer/components/Contract/index.tsx | Updated import and conversion function usage |
apps/explorer/app/contract/[id]/opengraph-image.tsx | Updated import and conversion function usage |
Merge activity
|
c0cfccf
to
99ba98c
Compare
99ba98c
to
f8782b5
Compare
Uh oh!
There was an error while loading. Please reload this page.