1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 02:58:09 +01:00
metamask-extension/ui/app/hooks/tests
Dan J Miller b1adc0d1e8
Fix use transaction time remaining (#9630)
* Only format timeRemaining if in useTransactionTimeRemaining if it is truthy

* Only setTimeRemaining in useTransactionTimeRemaining if submitted time is a number

* Use isSubmitted as a check, instead of isPending and submittedTime, before calculating timeRemaining
2020-10-19 12:15:21 -02:30
..
useCancelTransaction.test.js
useCurrencyDisplay.test.js
useRetryTransaction.test.js
useTokenData.test.js
useTokenDisplayValue.test.js
useTransactionDisplayData.test.js
useUserPreferencedCurrency.test.js