diff options
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> |