From a5cc845b062861abe258ce4076039587fcf31682 Mon Sep 17 00:00:00 2001 From: mahdi Date: Sun, 1 May 2022 09:51:03 +0430 Subject: [PATCH] update Input.js, src/components/FormInput/index.js and src/index.scss --- src/components/AnimatedInput/Input.js | 4 ++-- src/components/FormInput/index.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/AnimatedInput/Input.js b/src/components/AnimatedInput/Input.js index 35994f6..655d458 100644 --- a/src/components/AnimatedInput/Input.js +++ b/src/components/AnimatedInput/Input.js @@ -23,14 +23,14 @@ const FormFields = ({
{ const { register, getValues } = useForm(); + const [selectedInput, setSelectedInput] = useState(false); return (