mirror of
https://github.com/lemeow125/Ivy-Frontend.git
synced 2024-11-17 06:39:25 +08:00
Readded Inventory to routes. Created initial sampledata component
This commit is contained in:
parent
b0b5b5cf0f
commit
95501ed4ec
2 changed files with 10 additions and 0 deletions
|
@ -9,6 +9,7 @@ import Store from "./Plugins/Redux/Store/Store";
|
||||||
import { Provider } from "react-redux";
|
import { Provider } from "react-redux";
|
||||||
import AddProduct from "./Routes/Products/AddProduct/AddProduct";
|
import AddProduct from "./Routes/Products/AddProduct/AddProduct";
|
||||||
import EditProduct from "./Routes/Products/EditProduct/EditProduct";
|
import EditProduct from "./Routes/Products/EditProduct/EditProduct";
|
||||||
|
import Inventory from "./Routes/Inventory/Inventory";
|
||||||
|
|
||||||
const router = createBrowserRouter([
|
const router = createBrowserRouter([
|
||||||
{
|
{
|
||||||
|
@ -32,6 +33,14 @@ const router = createBrowserRouter([
|
||||||
</Container>
|
</Container>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: "/Inventory",
|
||||||
|
element: (
|
||||||
|
<Container>
|
||||||
|
<Inventory />
|
||||||
|
</Container>
|
||||||
|
),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: "/Logs",
|
path: "/Logs",
|
||||||
element: (
|
element: (
|
||||||
|
|
1
src/Components/SampleData/SampleData.tsx
Normal file
1
src/Components/SampleData/SampleData.tsx
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export const SampleData = {};
|
Loading…
Reference in a new issue