From 8ce55208ea152307180f40fc0708c306ead62b82 Mon Sep 17 00:00:00 2001 From: mahdi andalib Date: Fri, 29 Apr 2022 13:52:29 +0430 Subject: [PATCH] update App.js, src/components/FormInput/index.js and src/components/TestComponentNew/index.js --- src/App.js | 2 +- src/components/FormInput/index.js | 11 ++++------- src/components/TestComponentNew/index.js | 2 +- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/App.js b/src/App.js index 515d438..1f64b31 100644 --- a/src/App.js +++ b/src/App.js @@ -271,7 +271,7 @@ function App() { {/* */} {/* */} - + {/* */} ); diff --git a/src/components/FormInput/index.js b/src/components/FormInput/index.js index 1050a02..b483a57 100644 --- a/src/components/FormInput/index.js +++ b/src/components/FormInput/index.js @@ -6,25 +6,22 @@ import Input from "./Input"; const FormInput = () => { const { register, getValues } = useForm(); return ( -
- {/* right */} -
+
+
- {/* middle */} -
+
- {/* left */} -
+
{ return (
-
+