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
useCopyToClipboard.js
useCurrencyDisplay.js
useCurrencyDisplay.test.js
useCurrentAsset.js
useEqualityCheck.js
useEthFiatAmount.js
useGasFeeEstimates.js
useGasFeeEstimates.test.js
useGasFeeInputs.js
useGasFeeInputs.test.js
useI18nContext.js
useIncrementedGasFees.js
useMethodData.js
useMetricEvent.js
useOriginMetadata.js
usePrevious.js
useSafeGasEstimatePolling.js
useShouldAnimateGasEstimations.js
useShouldShowSpeedUp.js
useSwappedTokenValue.js
useTimeout.js
useTokenData.js
useTokenData.test.js
useTokenDisplayValue.js
useTokenDisplayValue.test.js
useTokenFiatAmount.js
useTokensToSearch.js
useTokenTracker.js
useTransactionDisplayData.js
useTransactionDisplayData.test.js
useUserPreferencedCurrency.js
useUserPreferencedCurrency.test.js