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 Update ESLint shared config to v3 (#9274) 2020-08-19 13:57:05 -02:30
useCopyToClipboard.js Add tooltip to contacts (#8974) 2020-07-24 11:17:03 -03:00
useCurrencyDisplay.js Update ESLint shared config to v3 (#9274) 2020-08-19 13:57:05 -02:30
useCurrentAsset.js Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
useEqualityCheck.js Fix useTokenTracker useEffect bug (#9334) 2020-09-02 14:19:04 -05:00
useEthFiatAmount.js Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
useI18nContext.js add useI18nContext shortcut hook (#8635) 2020-05-21 10:26:49 -05:00
useMethodData.js Implement new transaction list design (#8564) 2020-05-26 15:49:11 -05:00
useMetricEvent.js add segment implementation of metametrics (#9382) 2020-09-14 12:04:05 -05:00
usePrevious.js Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
useRetryTransaction.js Update ESLint shared config to v3 (#9274) 2020-08-19 13:57:05 -02:30
useShouldShowSpeedUp.js Adds the rule of hooks eslint rule (#8779) 2020-06-10 13:31:14 -05:00
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 Fix consistent-return issues (#9192) 2020-08-12 16:36:57 -02:30
useTokenData.js Implement new transaction list design (#8564) 2020-05-26 15:49:11 -05:00
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 Fix useTokenTracker useEffect bug (#9334) 2020-09-02 14:19:04 -05:00
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 Fix import/order issues (#9239) 2020-08-18 16:48:25 -02:30