diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-10-05 22:16:53 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-10-05 22:16:53 +0530 |
commit | a1534066073f3197623565d597e5126a5c01bff9 (patch) | |
tree | 01eef2bee4a4b9f01ac60b36949aa7624dbfd54c /src/App.js | |
parent | 94b86f4c333f1991c2d09c8ce02beaedf5abc721 (diff) |
added client picker
Diffstat (limited to 'src/App.js')
-rw-r--r-- | src/App.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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> |