Skip to content

Commit

Permalink
Update App.js
Browse files Browse the repository at this point in the history
  • Loading branch information
aslams2020 committed Jul 5, 2024
1 parent 45a2c5c commit 517f0e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ import AccountSettings from "./settings/AccountSettings";
import NotFoundPage from "./pages/PNF";
import ForgotPassword from "./pages/Forgotpassword.js";
import ResetPassword from "./pages/ResetPassword.js";
import ProgressBar from './components/ProgressBar.js';

const App = () => {
return (
<>
<ProgressBar />
<Routes>
<Route path="/" element={<Home />} />
<Route path="/user/add-products" element={<PForm />} />
Expand All @@ -32,6 +34,7 @@ const App = () => {
<Route path="/user/reset-password/:token" element={<ResetPassword />} />
<Route element={<PrivateRoute />}>
<Route path="/admin/dashboard" element={<AdminD></AdminD>} />
<Route path="/admin/" element={<AdminD></AdminD>} />
<Route path="/scanqr" element={<QRCodeVerification />} />
<Route path="/user/add-products" element={<PForm />} />
<Route path="/user/settings" element={<Settings></Settings>} />
Expand All @@ -46,6 +49,7 @@ const App = () => {
<Route path="/user/review" element={<Review />} />
<Route path="*" element={<NotFoundPage></NotFoundPage>} />
</Routes>

</>
);
};
Expand Down

0 comments on commit 517f0e2

Please sign in to comment.