Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
feat: admin community route added
Browse files Browse the repository at this point in the history
  • Loading branch information
amarnath-dev committed Mar 10, 2024
1 parent 47c161d commit 3f3511b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/src/routes/AdminRoute.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ const Rights = lazy(() => import("../pages/AdminPages/Rights/Rights"));
const Sidebar = lazy(() => import("../components/Sidebar/Sidebar"));
const MyBody = lazy(() => import("../pages/AdminPages/MyBody/MyBody"));
const MyMind = lazy(() => import("../pages/AdminPages/MyMind/MyMind"));
const CommunityAdmin = lazy(() =>
import("../pages/AdminPages/Community/CommunityAdmin")
);

export default function AdminRoute() {
return (
Expand All @@ -24,6 +27,7 @@ export default function AdminRoute() {
<Route path={"/rights"} element={<Rights />} />
<Route path={"/body"} element={<MyBody />} />
<Route path={"/mind"} element={<MyMind />} />
<Route path={"/community"} element={<CommunityAdmin />} />
</Routes>
</Suspense>
</div>
Expand Down

0 comments on commit 3f3511b

Please sign in to comment.