Skip to content

Commit

Permalink
feat: lazy 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
wuzoo committed Nov 17, 2024
1 parent 3c9c634 commit 51248de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/common/router/Router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import ErrorBoundary from '@/common/component/ErrorBoundary/ErrorBoundary';
import {
ArchivingPage,
ComingsoonPage,
DashboardPage,
DrivePage,
ErrorPage,
HandoverNotePage,
Expand All @@ -17,11 +18,9 @@ import {
PasswordResetPage,
ShowcasePage,
TermPage,
UnivFormPage,
} from '@/common/router/lazy';

import UnivFormPage from '@/page/signUp/info/UnivFormPage';
import DashboardPage from '@/page/dashboard/DashboardPage';

import { PATH } from '@/shared/constant/path';

const Public = () => {
Expand Down
2 changes: 2 additions & 0 deletions src/common/router/lazy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ export const ErrorPage = lazy(() => import('@/shared/page/errorPage/ErrorPage'))
export const ComingsoonPage = lazy(() => import('@/shared/page/comingsoonPage/ComingsoonPage'));
export const DrivePage = lazy(() => import('@/page/drive/index'));
export const HandoverNotePage = lazy(() => import('@/page/handover/note/NotePage'));
export const DashboardPage = lazy(() => import('@/page/dashboard/DashboardPage'));
export const UnivFormPage = lazy(() => import('@/page/signUp/info/UnivFormPage'));

0 comments on commit 51248de

Please sign in to comment.