mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 02:58:09 +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. |
||
---|---|---|
.. | ||
useCancelTransaction.test.js | ||
useCurrencyDisplay.test.js | ||
useRetryTransaction.test.js | ||
useTokenData.test.js | ||
useTokenDisplayValue.test.js | ||
useTransactionDisplayData.test.js | ||
useUserPreferencedCurrency.test.js |