Skip to content

Commit

Permalink
chore: レイアウトが正しく反映されるようにした
Browse files Browse the repository at this point in the history
  • Loading branch information
toranomonn committed Jul 18, 2024
1 parent d915176 commit 521cbab
Showing 1 changed file with 30 additions and 29 deletions.
59 changes: 30 additions & 29 deletions packages/kcmsf/src/routes/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,36 @@ import { Layout } from "./layout.tsx";
export const router = createBrowserRouter([
{
path: "/",
element: <Home />,
},
{
path: "/entrylist",
element: <EntryList />,
},
{
path: "/entry",
element: <Entry />,
},
{
path: "/match",
element: <Match />,
},
{
path: "/matchlist",
element: <MatchList />,
},
{
path: "/ranking",
element: <Ranking />,
},
{
path: "/result",
element: <Result />,
},
{
path: "/layout",
element: <Layout />,
children: [
{
index: true,
element: <Home />,
},
{
path: "entrylist",
element: <EntryList />,
},
{
path: "entry",
element: <Entry />,
},
{
path: "match",
element: <Match />,
},
{
path: "matchlist",
element: <MatchList />,
},
{
path: "ranking",
element: <Ranking />,
},
{
path: "result",
element: <Result />,
},
],
},
]);

0 comments on commit 521cbab

Please sign in to comment.