From 7902e62d8fbe435964efb0d458a4fec93da07bd8 Mon Sep 17 00:00:00 2001 From: ryanml Date: Wed, 4 Aug 2021 06:24:07 -0700 Subject: [PATCH] Fixing errors in EditGasDisplay (#11748) --- .../app/edit-gas-display/edit-gas-display.component.js | 4 ++-- ui/components/ui/radio-group/radio-group.component.js | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) 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 66b7dd9bb..306987118 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 @@ -262,7 +262,7 @@ EditGasDisplay.propTypes = { maxFeePerGasFiat: PropTypes.string, estimatedMaximumNative: PropTypes.string, estimatedMinimumNative: PropTypes.string, - isGasEstimatesLoading: PropTypes.boolean, + isGasEstimatesLoading: PropTypes.bool, gasFeeEstimates: PropTypes.object, gasEstimateType: PropTypes.string, gasPrice: PropTypes.string, @@ -273,7 +273,7 @@ EditGasDisplay.propTypes = { setEstimateToUse: PropTypes.func, estimatedMinimumFiat: PropTypes.string, estimatedMaximumFiat: PropTypes.string, - dappSuggestedGasFeeAcknowledged: PropTypes.boolean, + dappSuggestedGasFeeAcknowledged: PropTypes.bool, setDappSuggestedGasFeeAcknowledged: PropTypes.func, showAdvancedForm: PropTypes.bool, setShowAdvancedForm: PropTypes.func, diff --git a/ui/components/ui/radio-group/radio-group.component.js b/ui/components/ui/radio-group/radio-group.component.js index c59b300f0..e1c2f27e8 100644 --- a/ui/components/ui/radio-group/radio-group.component.js +++ b/ui/components/ui/radio-group/radio-group.component.js @@ -30,7 +30,6 @@ export default function RadioGroup({ options, name, selectedValue, onChange }) { onChange?.(option.value)}