diff --git a/src/components/templates/LoginPageWrapper/index.tsx b/src/components/templates/LoginPageWrapper/index.tsx deleted file mode 100644 index a23c286b..00000000 --- a/src/components/templates/LoginPageWrapper/index.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import { ReactNode } from 'react'; - -interface LoginPageWrapperProps { - children: ReactNode; -} - -const LoginPageWrapper = ({ children }: LoginPageWrapperProps) => { - return
{children}
; -}; - -export default LoginPageWrapper; diff --git a/src/pages/LoginPage/index.tsx b/src/pages/LoginPage/LoginPage.tsx similarity index 92% rename from src/pages/LoginPage/index.tsx rename to src/pages/LoginPage/LoginPage.tsx index de4eb829..a705e570 100644 --- a/src/pages/LoginPage/index.tsx +++ b/src/pages/LoginPage/LoginPage.tsx @@ -5,8 +5,6 @@ import { useLottieAnimation } from '@/shared/hooks/useLottieAnimation'; import LottieData from '@/shared/assets/lotties/morib_logo_motion.json'; import GoogleLoginIcon from '@/shared/assets/svgs/google_login.svg?react'; -import LoginPageWrapper from '@/components/templates/LoginPageWrapper'; - const defaultOptions = { autoplay: true, loop: false, @@ -31,7 +29,7 @@ const LoginPage = () => { }; return ( - +
{
- +
); }; export default LoginPage; diff --git a/src/router/Router.tsx b/src/router/Router.tsx index 5343019b..f92e66fa 100644 --- a/src/router/Router.tsx +++ b/src/router/Router.tsx @@ -10,7 +10,7 @@ import Layout from '@/shared/layout/Layout'; import RedirectPage from '../pages/RedirectPage'; import { ROUTES_CONFIG } from './routesConfig'; -const LoginPage = lazy(() => import('@/pages/LoginPage')); +const LoginPage = lazy(() => import('@/pages/LoginPage/LoginPage')); const HomePage = lazy(() => import('@/pages/HomePage/HomePage')); const TimerPage = lazy(() => import('@/pages/TimerPage/TimerPage')); const MoribSetPage = lazy(() => import('@/pages/MoribSetPage/MoribSetPage'));