1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 10:30:04 +01:00
metamask-extension/ui/hooks
Alex Donesky b0a510562e 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-16 15:49:54 -05:00
..
useApproveTransaction.js Fix #11703 - Provide wiring for approval modal (#11711) 2021-08-02 09:07:15 -05:00
useCopyToClipboard.js
useCurrencyDisplay.js
useCurrencyDisplay.test.js
useCurrentAsset.js
useEqualityCheck.js
useEthFiatAmount.js
useGasFeeEstimates.js Restore heartbeat to transaction confirmation, use isGasEstimatesLoading more broadly (#11781) 2021-08-06 01:45:53 -02:30
useGasFeeEstimates.test.js Restore heartbeat to transaction confirmation, use isGasEstimatesLoading more broadly (#11781) 2021-08-06 01:45:53 -02:30
useGasFeeInputs.js Dont default gas limit in gas popover when non is available on transaction params (#11872) 2021-08-18 02:57:41 -07:00
useGasFeeInputs.test.js Dont default gas limit in gas popover when non is available on transaction params (#11872) 2021-08-18 02:57:41 -07:00
useI18nContext.js
useIncrementedGasFees.js Fix gas api overcalling (#12069) 2021-09-16 15:49:54 -05:00
useMethodData.js
useMetricEvent.js
useOriginMetadata.js
usePrevious.js
useSafeGasEstimatePolling.js Stop GasFeeController polling when pop closes (#11746) 2021-08-04 20:24:40 -02:30
useShouldAnimateGasEstimations.js Improve flashing behaviour for loading gas estimates (on confirm screen) (#11852) 2021-08-16 18:00:11 -07:00
useShouldShowSpeedUp.js
useSwappedTokenValue.js
useTimeout.js
useTokenData.js
useTokenData.test.js
useTokenDisplayValue.js
useTokenDisplayValue.test.js
useTokenFiatAmount.js
useTokensToSearch.js
useTokenTracker.js
useTransactionDisplayData.js Return an empty string when date is not provided [Date display utils] (#11831) 2021-08-16 17:56:56 -07:00
useTransactionDisplayData.test.js
useUserPreferencedCurrency.js
useUserPreferencedCurrency.test.js