mirror of
https://github.com/lemeow125/Ivy-Frontend.git
synced 2024-11-16 22:29:24 +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 AddProduct from "./Routes/Products/AddProduct/AddProduct";
|
||||
import EditProduct from "./Routes/Products/EditProduct/EditProduct";
|
||||
import Inventory from "./Routes/Inventory/Inventory";
|
||||
|
||||
const router = createBrowserRouter([
|
||||
{
|
||||
|
@ -32,6 +33,14 @@ const router = createBrowserRouter([
|
|||
</Container>
|
||||
),
|
||||
},
|
||||
{
|
||||
path: "/Inventory",
|
||||
element: (
|
||||
<Container>
|
||||
<Inventory />
|
||||
</Container>
|
||||
),
|
||||
},
|
||||
{
|
||||
path: "/Logs",
|
||||
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