diff --git a/src/view/LoginSignUp/index.js b/src/view/LoginSignUp/index.js index adf8133..1c5493a 100644 --- a/src/view/LoginSignUp/index.js +++ b/src/view/LoginSignUp/index.js @@ -12,7 +12,7 @@ import VerificationInput from "../../components/verificationInput"; const LoginSignUp = ({ activeLogin }) => { const [steps, setSteps] = useState(0); const [index, setIndex] = useState(1); - + const [register, setRegister] = useState(false); const timeoutRef = useRef(null); const focusHandler = (id) => { @@ -160,9 +160,13 @@ const LoginSignUp = ({ activeLogin }) => { ورود { + setSteps(1); + setRegister(true); + + }} > ثبت نام @@ -208,11 +212,13 @@ const LoginSignUp = ({ activeLogin }) => { { + activeLogin() - + + }} > تایید