🏗️ Added import queue related state
This commit is contained in:
@@ -10,6 +10,7 @@ const root = createRoot(rootEl);
|
||||
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
||||
import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
|
||||
import Import from "./components/Import/Import";
|
||||
import Dashboard from "./components/Dashboard/Dashboard";
|
||||
|
||||
const queryClient = new QueryClient();
|
||||
|
||||
@@ -19,6 +20,7 @@ const router = createBrowserRouter([
|
||||
element: <App />,
|
||||
errorElement: <ErrorPage />,
|
||||
children: [
|
||||
{ path: "dashboard", element: <Dashboard /> },
|
||||
{ path: "settings", element: <Settings /> },
|
||||
{ path: "import", element: <Import path={"./comics"} /> },
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user