diff --git a/src/pages/auth/Login.tsx b/src/pages/auth/Login.tsx index 9503088..93bdaef 100644 --- a/src/pages/auth/Login.tsx +++ b/src/pages/auth/Login.tsx @@ -1,42 +1,30 @@ -import { type FC } from 'react' -import LogoImage from '../../assets/images/logo.png' -import LogoSmallImage from '../../assets/images/logo-small.png' -import { useAuthStore } from './store/AuthStore' -import LoginStep1 from './components/LoginStep1' -import LoginStep2 from './components/LoginStep2' +import { type FC } from "react"; +import LogoSmallImage from "../../assets/images/logo-small.png"; +import LogoImage from "../../assets/images/logo.png"; +import LoginStep1 from "./components/LoginStep1"; +import LoginStep2 from "./components/LoginStep2"; +import { useAuthStore } from "./store/AuthStore"; const Login: FC = () => { + const { stepLogin, phone } = useAuthStore(); - const { stepLogin, phone } = useAuthStore() + return ( +
+
+
+
+ - return ( -
-
-
-
- - -
- { - stepLogin === 1 ? - - : - stepLogin === 2 && !!phone ? - - : null - } -
- - -
-
- -
- -
-
+
{stepLogin === 1 ? : stepLogin === 2 && !!phone ? : null}
+
- ) -} -export default Login \ No newline at end of file +
+ +
+
+
+ ); +}; + +export default Login;