1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-27 21:00:13 +01:00
metamask-extension/ui/app/hooks
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
..
tests Fix use transaction time remaining (#9630) 2020-10-19 12:15:21 -02:30
useCancelTransaction.js
useCopyToClipboard.js
useCurrencyDisplay.js
useCurrentAsset.js
useEqualityCheck.js
useEthFiatAmount.js
useI18nContext.js
useMethodData.js
useMetricEvent.js
usePrevious.js
useRetryTransaction.js
useShouldShowSpeedUp.js
useSwappedTokenValue.js
useSwapsEthToken.js Add useSwapsEthToken hook and utilize wherever we need the ETH 'token' for swaps (#9537) 2020-10-09 12:17:56 -07:00
useTimeout.js
useTokenData.js
useTokenDisplayValue.js Overflow primaryCurrency in tx-list-item & use primaryCurrency for tx breakdown details. (#9539) 2020-10-09 13:11:39 -07:00
useTokenFiatAmount.js
useTokensToSearch.js Fix and simplify account switching in Swaps (#9549) 2020-10-12 14:21:01 -02:30
useTokenTracker.js
useTransactionDisplayData.js Fix use transaction time remaining (#9630) 2020-10-19 12:15:21 -02:30
useTransactionTimeRemaining.js Fix use transaction time remaining (#9630) 2020-10-19 12:15:21 -02:30
useUserPreferencedCurrency.js