From 504e74fbed986f416adb377c90557859aa421f41 Mon Sep 17 00:00:00 2001 From: ryanml Date: Tue, 10 Aug 2021 13:45:09 -0700 Subject: [PATCH] Fixing EditGasDisplay console errors (#11797) --- .../advanced-gas-controls/advanced-gas-controls.component.js | 2 +- .../app/edit-gas-display/edit-gas-display.component.js | 2 +- .../confirm-transaction-base.component.js | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ui/components/app/advanced-gas-controls/advanced-gas-controls.component.js b/ui/components/app/advanced-gas-controls/advanced-gas-controls.component.js index ee9f3429d..667fa5e8a 100644 --- a/ui/components/app/advanced-gas-controls/advanced-gas-controls.component.js +++ b/ui/components/app/advanced-gas-controls/advanced-gas-controls.component.js @@ -140,5 +140,5 @@ AdvancedGasControls.propTypes = { maxPriorityFeeFiat: PropTypes.string, maxFeeFiat: PropTypes.string, gasErrors: PropTypes.object, - minimumGasLimit: PropTypes.number, + minimumGasLimit: PropTypes.string, }; diff --git a/ui/components/app/edit-gas-display/edit-gas-display.component.js b/ui/components/app/edit-gas-display/edit-gas-display.component.js index 703c4de83..c2cd0b3e2 100644 --- a/ui/components/app/edit-gas-display/edit-gas-display.component.js +++ b/ui/components/app/edit-gas-display/edit-gas-display.component.js @@ -312,7 +312,7 @@ EditGasDisplay.propTypes = { gasErrors: PropTypes.object, gasWarnings: PropTypes.object, onManualChange: PropTypes.func, - minimumGasLimit: PropTypes.number, + minimumGasLimit: PropTypes.string, balanceError: PropTypes.bool, estimatesUnavailableWarning: PropTypes.bool, hasGasErrors: PropTypes.bool, diff --git a/ui/pages/confirm-transaction-base/confirm-transaction-base.component.js b/ui/pages/confirm-transaction-base/confirm-transaction-base.component.js index 3a3364466..ec0ca03ed 100644 --- a/ui/pages/confirm-transaction-base/confirm-transaction-base.component.js +++ b/ui/pages/confirm-transaction-base/confirm-transaction-base.component.js @@ -309,6 +309,7 @@ export default class ConfirmTransactionBase extends Component { return ( @@ -329,6 +330,7 @@ export default class ConfirmTransactionBase extends Component { return ( @@ -347,6 +349,7 @@ export default class ConfirmTransactionBase extends Component { return (