diff --git a/ui/selectors/confirm-transaction.js b/ui/selectors/confirm-transaction.js index c721e12b1..08c40cda8 100644 --- a/ui/selectors/confirm-transaction.js +++ b/ui/selectors/confirm-transaction.js @@ -223,9 +223,7 @@ export const transactionFeeSelector = function (state, txData) { // if the gas price from our infura endpoint is null or undefined // use the metaswap average price estimation as a fallback - let { - txParams: { gasPrice }, - } = txData; + let { txParams: { gasPrice } = {} } = txData; if (!gasPrice) { gasPrice = getAveragePriceEstimateInHexWEI(state) || '0x0';