diff --git a/src/states/Login/Login.jsx b/src/states/Login/Login.jsx index f455569..7d300dc 100644 --- a/src/states/Login/Login.jsx +++ b/src/states/Login/Login.jsx @@ -2,21 +2,24 @@ import {Stack, Tab, Tabs} from "@mui/material"; import Logo from "@/states/Login/components/Logo"; import {useState} from "react"; import LoginTab from "@/states/Login/tabs/LoginTab"; +import RegisterTab from "@/states/Login/tabs/RegisterTab"; export const Login = () => { const [currentPage, setCurrentPage] = useState(0); + const [showTabs, setShowTabs] = useState(true); + return ( - setCurrentPage(v)}> + {showTabs && setCurrentPage(v)}> - + } {currentPage === 0 && } - {currentPage === 1 &&
Register
} + {currentPage === 1 && }
) } \ No newline at end of file