diff --git a/src/router.jsx b/src/router.jsx index 6c8faf3..d767aa9 100644 --- a/src/router.jsx +++ b/src/router.jsx @@ -26,7 +26,7 @@ const router = createBrowserRouter([ element: , }, { - path: "box/:boxId/choco", + path: "/box/:boxId/choco", element: , }, @@ -51,6 +51,7 @@ const router = createBrowserRouter([ { path: "/detailletter/:id", element: }, { path: "/chocolist", element: }, ], + errorElement: , }, ]);