-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show total USD stake banner on SNS neurons page (#6042)
# Motivation We want to show people the total value for their SNS neurons in USD and ICP. Analogous to #6038 # Changes 1. Add `UsdValueBanner` on `SnsNeurons` if `ENABLE_USD_VALUES_FOR_NEURONS` is enabled. 2. Show `-/-` instead of `0.00` if the token price for this SNS is not known. # Tests 1. Unit tests added. 2. Tested manually at https://qsgjb-riaaa-aaaaa-aaaga-cai.dskloet-ingress.devenv.dfinity.network/neurons/?u=bd3sg-teaaa-aaaaa-qaaba-cai # Todos - [ ] Add entry to changelog (if necessary). not yet
- Loading branch information
Showing
3 changed files
with
104 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters