diff --git a/ui/hooks/useGasFeeInputs.js b/ui/hooks/useGasFeeInputs.js index 4e0beb7a8633..140e0fa198b4 100644 --- a/ui/hooks/useGasFeeInputs.js +++ b/ui/hooks/useGasFeeInputs.js @@ -97,8 +97,9 @@ function getMatchingEstimateFromGasFees( findKey(gasFeeEstimates, (estimate) => { if (process.env.SHOW_EIP_1559_UI) { return ( - estimate?.suggestedMaxPriorityFeePerGas === maxPriorityFeePerGas && - estimate?.suggestedMaxFeePerGas === maxFeePerGas + Number(estimate?.suggestedMaxPriorityFeePerGas) === + Number(maxPriorityFeePerGas) && + Number(estimate?.suggestedMaxFeePerGas) === Number(maxFeePerGas) ); } return estimate?.gasPrice === gasPrice;