Skip to content

Commit

Permalink
resolve blank page
Browse files Browse the repository at this point in the history
  • Loading branch information
Dawaic6 committed Oct 7, 2024
1 parent aff1755 commit 169833a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/containers/DashRoutes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function DashRoutes() {
<Sidebar toggle={toggleNav} style="" />
</MenuProvider>
<main className=" px-4 md:px-8 py-4 md:py-8 w-[100%] bg-light-bg overflow-hidden dark:bg-dark-frame-bg">
{/* <Suspense fallback={<Square />}> */}
<Suspense >
<Routes>
<Route path="/dashboard" element={<Dashboard />} />
<Route path="/trainees" element={<AdminTraineeDashboard />} />
Expand Down Expand Up @@ -158,10 +158,10 @@ function DashRoutes() {
<Route path="/teams/cards" element={<CoordinatorCards />} />
<Route path="/ttl-trainees" element={<TtlTraineeDashboard />} />
</Routes>
{/* </Suspense> */}
</Suspense>
</main>
</PrivateRoute>
);
}

export default DashRoutes;
export default DashRoutes;

0 comments on commit 169833a

Please sign in to comment.