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

Fix NumericInput proptype error (#11773)

This commit is contained in:
David Walsh 2021-08-05 16:52:45 -05:00 committed by Dan Miller
parent c2bfa57981
commit df6c05eb17

View File

@ -40,7 +40,7 @@ export default function NumericInput({
} }
NumericInput.propTypes = { NumericInput.propTypes = {
value: PropTypes.number, value: PropTypes.oneOf([PropTypes.number, PropTypes.string]),
detailText: PropTypes.string, detailText: PropTypes.string,
onChange: PropTypes.func, onChange: PropTypes.func,
error: PropTypes.string, error: PropTypes.string,