1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Fixing errors in EditGasDisplay (#11748)

This commit is contained in:
ryanml 2021-08-04 06:24:07 -07:00 committed by GitHub
parent b9fb495c7b
commit 7902e62d8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -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,

View File

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