aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-12-04 21:37:52 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-12-04 21:37:52 +0530
commit1139da4da7f1bb0ee4a66d420e690beed36832c2 (patch)
treeb0e5fca2f13c691b0c42543d98a747289f527e52 /src/App.js
parentbb38d843de17bb0b206a663e008c5dbb37f04708 (diff)
added notification system
Diffstat (limited to 'src/App.js')
-rw-r--r--src/App.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/App.js b/src/App.js
index 9fd5081..8dfbf81 100644
--- a/src/App.js
+++ b/src/App.js
@@ -16,7 +16,9 @@
*/
import { BrowserRouter, Route, Routes } from "react-router-dom";
-import './App.scss';
+import { ReactNotifications } from "react-notifications-component";
+import "./notifications_styles/notification.scss"
+
import Navbar from './components/navbar/navbar';
import HomePage from './views/homepage';
import RegisterPage from './views/login/register';
@@ -27,11 +29,13 @@ import ManageItemsPage from './views/manage/items';
import ManageClientsPage from './views/manage/clients';
import ManageBrandsPage from './views/manage/brands';
import ManageInvoicesPage from './views/manage/invoices';
+import './App.scss';
const App = () => {
return (
<BrowserRouter>
<Navbar/>
+ <ReactNotifications />
<main>
<Routes>
<Route exact path="/" element={<HomePage/>}/>