diff --git a/src/components/FormInput/index.js b/src/components/FormInput/index.js index 22e747c..8cd00b7 100644 --- a/src/components/FormInput/index.js +++ b/src/components/FormInput/index.js @@ -1,4 +1,6 @@ -import React, { useState } from "react"; +// it has style inside index.scss ---> // Start FormInput Component && end FormInput Component + +import React from "react"; import { useForm } from "react-hook-form"; import DateRangePicker from "../DateRangePicker"; @@ -9,8 +11,6 @@ import CustomSwitch from "../CustomSwitch"; const FormInput = ({ items }) => { const { register, getValues } = useForm(); - const [selectedInput, setSelectedInput] = useState(false); - return (