1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00

Fix NumericInput proptype error (#11773)

This commit is contained in:
David Walsh 2021-08-05 16:52:45 -05:00 committed by GitHub
parent e9ef3b168a
commit d5033249a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,