import React, { useEffect } from "react";
import Dashboard from "./Routes/Dashboard/Dashboard";
import Error from "./Routes/Error/Error";
import Products from "./Routes/Products/Products";
import Logs from "./Routes/Logs/Logs";
import Container from "./Components/Container/Container";
import { createBrowserRouter, RouterProvider } from "react-router-dom";
import Store from "./Plugins/Redux/Store/Store";
import { Provider } from "react-redux";
import Inventory from "./Routes/Inventory/Inventory";
import Login from "./Routes/Login/Login";
import Product from "./Routes/Product/Product";
import Activation from "./Routes/Activation/Activation";
import { QueryClient, QueryClientProvider } from "react-query";
import NewProduct from "./Routes/NewProduct/NewProduct";
const queryClient = new QueryClient();
const router = createBrowserRouter([
{
path: "/",
element: (
),
errorElement: (
),
},
{
path: "/Products",
element: (
),
},
{
path: "/Inventory",
element: (
),
},
{
path: "/Logs",
element: (
),
},
{
path: "/Login",
element: (
),
},
{
path: "/Product/:id",
element: (
),
},
{
path: "/Activation/:uid/:token",
element: (
),
},
{
path: "/NewProduct",
element: (
),
},
]);
export default function App() {
return (
);
}