Fixing errors in EditGasDisplay (#11748)

feature/default_network_editable
ryanml 3 years ago committed by Dan Miller
parent 8f50afb0dc
commit 0eef0d424d
  1. 4
      ui/components/app/edit-gas-display/edit-gas-display.component.js
  2. 1
      ui/components/ui/radio-group/radio-group.component.js

@ -262,7 +262,7 @@ EditGasDisplay.propTypes = {
maxFeePerGasFiat: PropTypes.string, maxFeePerGasFiat: PropTypes.string,
estimatedMaximumNative: PropTypes.string, estimatedMaximumNative: PropTypes.string,
estimatedMinimumNative: PropTypes.string, estimatedMinimumNative: PropTypes.string,
isGasEstimatesLoading: PropTypes.boolean, isGasEstimatesLoading: PropTypes.bool,
gasFeeEstimates: PropTypes.object, gasFeeEstimates: PropTypes.object,
gasEstimateType: PropTypes.string, gasEstimateType: PropTypes.string,
gasPrice: PropTypes.string, gasPrice: PropTypes.string,
@ -273,7 +273,7 @@ EditGasDisplay.propTypes = {
setEstimateToUse: PropTypes.func, setEstimateToUse: PropTypes.func,
estimatedMinimumFiat: PropTypes.string, estimatedMinimumFiat: PropTypes.string,
estimatedMaximumFiat: PropTypes.string, estimatedMaximumFiat: PropTypes.string,
dappSuggestedGasFeeAcknowledged: PropTypes.boolean, dappSuggestedGasFeeAcknowledged: PropTypes.bool,
setDappSuggestedGasFeeAcknowledged: PropTypes.func, setDappSuggestedGasFeeAcknowledged: PropTypes.func,
showAdvancedForm: PropTypes.bool, showAdvancedForm: PropTypes.bool,
setShowAdvancedForm: PropTypes.func, setShowAdvancedForm: PropTypes.func,

@ -30,7 +30,6 @@ export default function RadioGroup({ options, name, selectedValue, onChange }) {
<input <input
type="radio" type="radio"
name={name} name={name}
defaultChecked={checked}
checked={checked} checked={checked}
value={option.value} value={option.value}
onChange={() => onChange?.(option.value)} onChange={() => onChange?.(option.value)}

Loading…
Cancel
Save