🏗️ Refactoring ComicDetail page and its children
This commit is contained in:
@@ -12,6 +12,7 @@ import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
|
||||
import Import from "./components/Import/Import";
|
||||
import Dashboard from "./components/Dashboard/Dashboard";
|
||||
import TabulatedContentContainer from "./components/Library/TabulatedContentContainer";
|
||||
import { ComicDetailContainer } from "./components/ComicDetail/ComicDetailContainer";
|
||||
|
||||
const queryClient = new QueryClient();
|
||||
|
||||
@@ -27,6 +28,10 @@ const router = createBrowserRouter([
|
||||
path: "library",
|
||||
element: <TabulatedContentContainer category="library" />,
|
||||
},
|
||||
{
|
||||
path: "comic/details/:comicObjectId",
|
||||
element: <ComicDetailContainer />,
|
||||
},
|
||||
{ path: "import", element: <Import path={"./comics"} /> },
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user