diff --git a/ui/components/component-library/help-text/help-text.js b/ui/components/component-library/help-text/help-text.js index c3cc34e5b..2eeb66841 100644 --- a/ui/components/component-library/help-text/help-text.js +++ b/ui/components/component-library/help-text/help-text.js @@ -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 */