From 5c5959d91d4d253892127164c3cb9b1b2504e4e3 Mon Sep 17 00:00:00 2001 From: NasgulNexus Date: Tue, 31 Oct 2023 12:01:10 +0100 Subject: [PATCH] fix: fix spread control props --- src/components/PasswordInput/PasswordInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/PasswordInput/PasswordInput.tsx b/src/components/PasswordInput/PasswordInput.tsx index 430f421a..48930f73 100644 --- a/src/components/PasswordInput/PasswordInput.tsx +++ b/src/components/PasswordInput/PasswordInput.tsx @@ -102,8 +102,8 @@ export const PasswordInput: React.FC = (props) => { rightContent={additionalRightContent} autoComplete={autoComplete ? autoComplete : 'new-password'} controlProps={{ - className: b('input-control', controlProps?.className), ...controlProps, + className: b('input-control', controlProps?.className), }} /> );