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

HelpText propType fix (#16402)

This commit is contained in:
George Marshall 2022-11-07 14:34:18 -08:00 committed by GitHub
parent ef1c6fc959
commit ec11ff66ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ HelpText.propTypes = {
* The color of the HelpText will be overridden if error is true
* Defaults to COLORS.TEXT_DEFAULT
*/
color: PropTypes.oneOf(Object.values[TEXT_COLORS]),
color: PropTypes.oneOf(Object.values(TEXT_COLORS)),
/**
* The content of the help-text
*/