1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00
metamask-extension/ui/hooks
Dan J Miller 78f68b3dab Fix speed-up/cancel: don't update existing transaction data (#14355)
* Fix speed-up/cancel: don't update existing transaction data

* Move retryTxMeta state management to useGasFeeInputs.js

* Handle initial retryTxMeta set if no transaction is passed to useGasFeeInputs

* Ensure previousGas is use on retry transaction if it is available in useGasFeeInputs

* Remove update transaction mock and correctly test gas fee increase scenarios now that updateTransaction used in cancel-speedup is defined on the front end
2022-04-14 08:53:33 -07:00
..
gasFeeInput
useAddressDetails.js
useAddressDetails.test.js
useApproveTransaction.js
useAssetDetails.js
useCollectiblesCollections.js
useCopyToClipboard.js
useCurrencyDisplay.js
useCurrencyDisplay.test.js
useCurrentAsset.js
useEqualityCheck.js
useEthFiatAmount.js
useEventFragment.js
useEventFragment.test.js
useGasFeeErrors.js
useGasFeeErrors.test.js
useGasFeeEstimates.js
useGasFeeEstimates.test.js
useI18nContext.js
useIncrementedGasFees.js
useMethodData.js
useOriginMetadata.js
usePrevious.js
useSafeGasEstimatePolling.js
useSegmentContext.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
useTransactionEventFragment.js
useUserPreferencedCurrency.js
useUserPreferencedCurrency.test.js