aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-10-01 23:55:11 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-10-01 23:55:11 +0530
commit94b86f4c333f1991c2d09c8ce02beaedf5abc721 (patch)
tree690f5ac85c7b2e0d0cfd950d7d1b44492eec4eba /src/App.js
parente5c1454c091cb4101664d1bfa0e766ab37e9879a (diff)
added a manage 'menu' page at /manage
Diffstat (limited to 'src/App.js')
-rw-r--r--src/App.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/App.js b/src/App.js
index 7ea7ca9..ffd2344 100644
--- a/src/App.js
+++ b/src/App.js
@@ -19,6 +19,7 @@ import { BrowserRouter, Route, Routes } from "react-router-dom";
import './App.scss';
import Navbar from './components/navbar/navbar';
import HomePage from './views/homepage';
+import ManagementPage from './views/manage/manage';
import ManageItemsPage from './views/manage/items';
import ManageClientsPage from './views/manage/clients';
import ManageBrandsPage from './views/manage/brands';
@@ -30,6 +31,7 @@ const App = () => {
<main>
<Routes>
<Route exact path="/" element={<HomePage/>}/>
+ <Route exact path="/manage" element={<ManagementPage/>}/>
<Route exact path="/manage/items" element={<ManageItemsPage/>}/>
<Route exact path="/manage/clients" element={<ManageClientsPage/>}/>
<Route exact path="/manage/brands" element={<ManageBrandsPage/>}/>