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:
parent
e9ef3b168a
commit
d5033249a2
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user