aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-10-05 22:16:53 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-10-05 22:16:53 +0530
commita1534066073f3197623565d597e5126a5c01bff9 (patch)
tree01eef2bee4a4b9f01ac60b36949aa7624dbfd54c /src/App.js
parent94b86f4c333f1991c2d09c8ce02beaedf5abc721 (diff)
added client picker
Diffstat (limited to 'src/App.js')
-rw-r--r--src/App.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/App.js b/src/App.js
index ffd2344..1938304 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 NewInvoicePage from './views/invoice/new';
import ManagementPage from './views/manage/manage';
import ManageItemsPage from './views/manage/items';
import ManageClientsPage from './views/manage/clients';
@@ -31,10 +32,11 @@ const App = () => {
<main>
<Routes>
<Route exact path="/" element={<HomePage/>}/>
- <Route exact path="/manage" element={<ManagementPage/>}/>
+ <Route exact path="/invoice/new" element={<NewInvoicePage/>}/>
<Route exact path="/manage/items" element={<ManageItemsPage/>}/>
<Route exact path="/manage/clients" element={<ManageClientsPage/>}/>
<Route exact path="/manage/brands" element={<ManageBrandsPage/>}/>
+ <Route exact path="/manage" element={<ManagementPage/>}/>
<Route path="*" element={<h1>404</h1>}/>
</Routes>
</main>