mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
Fixing errors in EditGasDisplay (#11748)
This commit is contained in:
parent
b9fb495c7b
commit
7902e62d8f
@ -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…
Reference in New Issue
Block a user