diff --git a/src/routes/Routers/index.tsx b/src/routes/Routers/index.tsx index 9b31425..b8fb38f 100644 --- a/src/routes/Routers/index.tsx +++ b/src/routes/Routers/index.tsx @@ -13,6 +13,9 @@ const LoginPage = lazy(() => import('@pages/LoginPage')) const ErrorPage = lazy(() => import('@components/ErrorPage')) + +const ProfilePage = lazy(() => import('@pages/ProfilePage')) + const Routers = () => { return ( @@ -26,10 +29,17 @@ const Routers = () => { } /> + }> + + + } + /> + - - }> diff --git a/src/routes/routePaths.ts b/src/routes/routePaths.ts index 16c2dd9..48a720b 100644 --- a/src/routes/routePaths.ts +++ b/src/routes/routePaths.ts @@ -1,8 +1,9 @@ -type RoutePaths = 'home' | 'notFound' | 'error' | 'login' +type RoutePaths = 'home' | 'notFound' | 'error' | 'login' | 'profile' export const routePaths: Record = { home: '/', error: '/error', notFound: '*', - login: '/login' + login: '/login', + profile: '/profile' }