Refacotr: 추가한 Home 컴포넌트 라우터에 적용

This commit is contained in:
정현조 2024-09-09 15:06:09 +09:00
parent ed15f4df4a
commit 598f8d841c

View File

@ -1,7 +1,9 @@
import PageLayout from '@/components/PageLayout';
import Home from '@/components/Home';
import WorkspaceBrowseDetail from '@/components/WorkspaceBrowseDetail';
import WorkspaceBrowseLayout from '@/components/WorkspaceBrowseLayout';
import WorkspaceLayout from '@/components/WorkspaceLayout';
import { createBrowserRouter } from 'react-router-dom';
export const webPath = {
@ -17,7 +19,7 @@ const router = createBrowserRouter([
children: [
{
index: true,
element: <div>home</div>,
element: <Home />,
},
],
},