Skip to content

Commit

Permalink
feat: route에 auth 경로 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
seung365 committed Aug 7, 2024
1 parent 1b8fae1 commit a817993
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 46 deletions.
46 changes: 0 additions & 46 deletions src/pages/Login/AuthCallback.tsx

This file was deleted.

5 changes: 5 additions & 0 deletions src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { Login } from '@/pages/Login';
import { MyPage } from '@/pages/MyPage';
import { PrivateRoute } from './components/PrivateRoute';
import { Navigate } from 'react-router-dom';
import { AuthPage } from '@/pages/Login/AuthPage';

const router = createBrowserRouter([
{
Expand Down Expand Up @@ -43,6 +44,10 @@ const router = createBrowserRouter([
path: RouterPath.login,
element: <Login />,
},
{
path: RouterPath.auth,
element: <AuthPage />,
},
]);

export const Routes = () => {
Expand Down

0 comments on commit a817993

Please sign in to comment.