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
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 Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
useEqualityCheck.js
useEthFiatAmount.js Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
useI18nContext.js
useMethodData.js
useMetricEvent.js
usePrevious.js Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
useRetryTransaction.js
useShouldShowSpeedUp.js
useSwappedTokenValue.js Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
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 Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
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