From ec11ff66eefc2b36fb36391d00d1c70cf38d8fa1 Mon Sep 17 00:00:00 2001 From: George Marshall Date: Mon, 7 Nov 2022 14:34:18 -0800 Subject: [PATCH] HelpText propType fix (#16402) --- ui/components/component-library/help-text/help-text.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */