From 134a6b300f66d483ae90f3e2fc42d88254e8386f Mon Sep 17 00:00:00 2001 From: melloware Date: Fri, 15 Mar 2024 07:52:32 -0400 Subject: [PATCH] Fix #6160: InputText className listed twice --- components/lib/inputtext/InputText.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/lib/inputtext/InputText.js b/components/lib/inputtext/InputText.js index 2f0735f438..8066bf1844 100644 --- a/components/lib/inputtext/InputText.js +++ b/components/lib/inputtext/InputText.js @@ -4,7 +4,7 @@ import { useHandleStyle } from '../componentbase/ComponentBase'; import { useMergeProps } from '../hooks/Hooks'; import { KeyFilter } from '../keyfilter/KeyFilter'; import { Tooltip } from '../tooltip/Tooltip'; -import { DomHandler, ObjectUtils, classNames } from '../utils/Utils'; +import { DomHandler, ObjectUtils } from '../utils/Utils'; import { InputTextBase } from './InputTextBase'; export const InputText = React.memo( @@ -71,7 +71,7 @@ export const InputText = React.memo( const rootProps = mergeProps( { - className: classNames(props.className, cx('root', { isFilled })), + className: cx('root', { isFilled }), onBeforeInput: onBeforeInput, onInput: onInput, onKeyDown: onKeyDown,