mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-27 21:00:13 +01:00
3c98be4214
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. |
||
---|---|---|
.. | ||
tests | ||
useCancelTransaction.js | ||
useCurrencyDisplay.js | ||
useI18nContext.js | ||
useMethodData.js | ||
useMetricEvent.js | ||
useRetryTransaction.js | ||
useShouldShowSpeedUp.js | ||
useTokenData.js | ||
useTokenDisplayValue.js | ||
useTokenFiatAmount.js | ||
useTokenTracker.js | ||
useTransactionDisplayData.js | ||
useUserPreferencedCurrency.js |