issue # 비밀번호 초기화 로직 구현 중
All checks were successful
Test CI / build (push) Successful in 29s

This commit is contained in:
geonhee-min
2025-11-28 14:18:39 +09:00
parent 928250a291
commit 3704ef18d2
6 changed files with 176 additions and 32 deletions

View File

@@ -8,6 +8,7 @@ import { BrowserRouter as Router, Routes, Route, Navigate } from 'react-router-d
import { useAuthStore } from './store/authStore';
import { PageRouting } from './data/RoutingData';
import LoginPage from './ui/page/login/LoginPage';
import ResetPasswordPage from './ui/page/resetPassword/ResetPasswordPage';
function App() {
const { authData } = useAuthStore();
@@ -18,6 +19,7 @@ function App() {
<Route element={<Layout />}>
<Route element={<LoginPage />} path={PageRouting["LOGIN"].path} />
<Route element={<SignUpPage />} path={PageRouting["SIGN_UP"].path} />
<Route element={<ResetPasswordPage />} path={PageRouting["RESET_PASSWORD"].path} />
{!(authData?.isLogedIn) ? <Route element={<Navigate to={PageRouting["LOGIN"].path} />} path="*" /> : null}
</Route>
</Routes>