-
Notifications
You must be signed in to change notification settings - Fork 102
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
Improve header 11 #597
Improve header 11 #597
Conversation
CLA Assistant Lite All Contributors have signed the CLA. |
|
const { balance, isLoading } = useCombinedBalance() | ||
|
||
const formattedBalance = formatSmartLocaleAware(balance, AMOUNT_PRECISION) | ||
const formattedBalance = formatSmartLocaleAware(balance, 0) |
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.
Removes any decimals for your displayed COW balance (to optimize for horizontal space)
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.
Very nice, loved the enum for path mappings
* Styling. * Styling footer and bridge banner. * Improve header 13 (#610) * Fix network selector position. * Fix exports/imports for network selector. * Only open ordersPanel if account is true.
Summary
routes.ts
which can be referred to from anywhere in the app. Keeps a single file for defining the routes.