1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app/hooks
Mark Stacey 3c98be4214
Show fiat amounts inline on token transfers (#8786)
Fiat amounts are now shown inline on token transfers in the transaction
list, where possible (i.e. where the conversion rates are known).

The logic for this hook is pretty tangled because it's used for so many
fundamentally different types of items (eth transactions, token
transactions, signature requests). In the future we should split these
into different components.

The documentation for the `useTokenFiatAmount` hook was updated to make
`tokenAmount` optional, but in practice it already worked as expected
without the amount being passed in.
2020-06-12 14:37:06 -03:00
..
tests Show fiat amounts inline on token transfers (#8786) 2020-06-12 14:37:06 -03:00
useCancelTransaction.js resolve remaining issues with transaction list (#8659) 2020-05-27 14:45:20 -05:00
useCurrencyDisplay.js Implement new transaction list design (#8564) 2020-05-26 15:49:11 -05:00
useI18nContext.js add useI18nContext shortcut hook (#8635) 2020-05-21 10:26:49 -05:00
useMethodData.js Implement new transaction list design (#8564) 2020-05-26 15:49:11 -05:00
useMetricEvent.js Adds the rule of hooks eslint rule (#8779) 2020-06-10 13:31:14 -05:00
useRetryTransaction.js fix crash on signature request (#8709) 2020-06-01 12:27:51 -05:00
useShouldShowSpeedUp.js Adds the rule of hooks eslint rule (#8779) 2020-06-10 13:31:14 -05:00
useTokenData.js Implement new transaction list design (#8564) 2020-05-26 15:49:11 -05:00
useTokenDisplayValue.js Implement new transaction list design (#8564) 2020-05-26 15:49:11 -05:00
useTokenFiatAmount.js Show fiat amounts inline on token transfers (#8786) 2020-06-12 14:37:06 -03:00
useTokenTracker.js Adds the rule of hooks eslint rule (#8779) 2020-06-10 13:31:14 -05:00
useTransactionDisplayData.js Show fiat amounts inline on token transfers (#8786) 2020-06-12 14:37:06 -03:00
useUserPreferencedCurrency.js Implement new transaction list design (#8564) 2020-05-26 15:49:11 -05:00