1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +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 = {
value: PropTypes.number,
value: PropTypes.oneOf([PropTypes.number, PropTypes.string]),
detailText: PropTypes.string,
onChange: PropTypes.func,
error: PropTypes.string,