forked from BitBoxSwiss/bitbox-wallet-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
frontend: modify fiat historical value placeholder in tx
Fiat historical value is shown in tx detail. If the transaction is recent the value could be not available. The placeholder we used was '---' which led to poorly readable results for incoming/outgoing txs ('+---' or '----'). Now, if the amount is not available the placeholder is shown without the sign, which should be more readable. In the future it would be nice to refactor the FiatConversion component and limit the `sign` prop to '+' | '-'.
- Loading branch information
1 parent
92c30d0
commit e730b19
Showing
3 changed files
with
16 additions
and
8 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