mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix conversionRate
PropType of GasModalPageContainer
(#9651)
The `conversionRate` prop of `GasModalPageContainer` was updated recently in PR #9623 to have a PropType of `string` instead of `number`. This resulted in a PropType error whenever this modal was rendered, as `conversionRate` is always a `number`. The PropType has been reverted to the correct type, `number`.
This commit is contained in:
parent
4197ff7295
commit
a9a432db0c
@ -53,7 +53,7 @@ export default class GasModalPageContainer extends Component {
|
||||
customTotalSupplement: PropTypes.string,
|
||||
isSwap: PropTypes.bool,
|
||||
value: PropTypes.string,
|
||||
conversionRate: PropTypes.string,
|
||||
conversionRate: PropTypes.number,
|
||||
minimumGasLimit: PropTypes.number.isRequired,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user