1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +01:00
metamask-extension/ui/hooks
Alex Donesky 74fa6fa187
Fix gas api overcalling (#12069)
* Move gasEstimation calls onto edit-gas-popover instead of transaction list item

* delete useCancelTransaction and useRetryTransaction hooks
consolidate gasFee calls into cancel button component.

* add tests

* update component name

* addressing feedback

* fix failing e2e test

* followup fix e2e tests

* change useIncrementedGasFees to accept single transaction rather than transactionGroup as argument

* remove unnecessary change to fixture

* only ever pass primary transaction to useIncrementedGasFees

* remove unnecessary optional chaining
2021-09-15 10:59:51 -05:00
..
useApproveTransaction.js Fix #11703 - Provide wiring for approval modal (#11711) 2021-08-02 09:07:15 -05:00
useCopyToClipboard.js
useCurrencyDisplay.js move conversion utils to shared folder (#11451) 2021-07-06 12:48:49 -05:00
useCurrencyDisplay.test.js
useCurrentAsset.js Integrate TokensController (#11552) 2021-09-10 12:37:19 -05:00
useEqualityCheck.js
useEthFiatAmount.js
useGasFeeEstimates.js Restore heartbeat to transaction confirmation, use isGasEstimatesLoading more broadly (#11781) 2021-08-05 18:59:58 -05:00
useGasFeeEstimates.test.js Restore heartbeat to transaction confirmation, use isGasEstimatesLoading more broadly (#11781) 2021-08-05 18:59:58 -05:00
useGasFeeInputs.js Dont default gas limit in gas popover when non is available on transaction params (#11872) 2021-08-18 02:54:53 -07:00
useGasFeeInputs.test.js Dont default gas limit in gas popover when non is available on transaction params (#11872) 2021-08-18 02:54:53 -07:00
useI18nContext.js
useIncrementedGasFees.js Fix gas api overcalling (#12069) 2021-09-15 10:59:51 -05:00
useMethodData.js
useMetricEvent.js
useOriginMetadata.js
usePrevious.js
useSafeGasEstimatePolling.js Stop GasFeeController polling when pop closes (#11746) 2021-08-04 16:53:13 -05:00
useShouldAnimateGasEstimations.js Improve flashing behaviour for loading gas estimates (on confirm screen) (#11852) 2021-08-16 20:18:24 -02:30
useShouldShowSpeedUp.js
useSwappedTokenValue.js
useTimeout.js
useTokenData.js
useTokenData.test.js
useTokenDisplayValue.js
useTokenDisplayValue.test.js
useTokenFiatAmount.js
useTokensToSearch.js changing token address to lowercase for dynamic token list (#12071) 2021-09-10 23:55:23 -04:00
useTokenTracker.js Integrate TokensController (#11552) 2021-09-10 12:37:19 -05:00
useTransactionDisplayData.js Integrate TokensController (#11552) 2021-09-10 12:37:19 -05:00
useTransactionDisplayData.test.js Adding method to capture one-time Sentry exceptions (#11553) 2021-07-22 16:13:40 -07:00
useUserPreferencedCurrency.js Update controllers with conversionRate change with minimal required changes in extension (#11361) 2021-06-23 18:28:49 -05:00
useUserPreferencedCurrency.test.js Update controllers with conversionRate change with minimal required changes in extension (#11361) 2021-06-23 18:28:49 -05:00