From 2e8c6f19662bbd3d803bd31a560a3520526b79da Mon Sep 17 00:00:00 2001 From: Arno V Date: Sat, 25 Nov 2023 11:46:12 -0500 Subject: [PATCH] fix(TextInput): wrapper class contains "undefined" in some cases --- packages/ui-components/src/components/TextInput/utilities.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui-components/src/components/TextInput/utilities.ts b/packages/ui-components/src/components/TextInput/utilities.ts index b6d5c2c9..4c8cd7d6 100644 --- a/packages/ui-components/src/components/TextInput/utilities.ts +++ b/packages/ui-components/src/components/TextInput/utilities.ts @@ -116,7 +116,7 @@ export const getTextInputClasses = ({ }: getTextInputClassesProps) => { const wrapper = raw ? className - : `${TEXT_INPUT_WRAPPER_CLASSNAME} w-full ${className}`; + : clsx(`${TEXT_INPUT_WRAPPER_CLASSNAME} w-full`, className); const input = raw ? inputClassName