From e0fa40f77bb1f4a7aabbf1d6ec67d6b9e2ee0e9f Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Sun, 21 Apr 2024 22:10:40 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20front:=20fix=20react=20unknown?= =?UTF-8?q?=20property=20passed=20on=20by=20input=20(#50)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tdrive/frontend/src/app/atoms/input/input-text.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tdrive/frontend/src/app/atoms/input/input-text.tsx b/tdrive/frontend/src/app/atoms/input/input-text.tsx index 1f0a126f..a9cab85d 100644 --- a/tdrive/frontend/src/app/atoms/input/input-text.tsx +++ b/tdrive/frontend/src/app/atoms/input/input-text.tsx @@ -66,7 +66,7 @@ export const Input = (props: InputProps) => { @@ -75,7 +75,7 @@ export const Input = (props: InputProps) => { ref={props.inputRef as React.Ref} type="text" className={inputClassName + ' ' + props.inputClassName + ' ' + props.className} - {..._.omit(props, 'label', 'inputClassName', 'className', 'size')} + {..._.omit(props, 'label', 'inputClassName', 'inputRef', 'className', 'size')} /> ))}