This commit is contained in:
wayanrivan
2026-07-02 15:20:41 +07:00
parent 8ca596af86
commit ea1a678a25
6 changed files with 171 additions and 101 deletions

View File

@ -59,7 +59,7 @@ import ComingSoonPage from '@/pages/ComingSoonPage';
const AppRoutingSetup = (): ReactElement => {
return (
<Routes>
{/* <Route element={<RequireAuth />}> */}
<Route element={<RequireAuth />}>
<Route element={<Demo2Layout />}>
<Route path="/" element={<DashboardHomePage />} />
<Route path="/account/home/user-profile" element={<AccountUserProfilePage />} />
@ -142,7 +142,7 @@ const AppRoutingSetup = (): ReactElement => {
/> */}
{/* DISBURSEMENT */}
</Route>
{/* </Route> */}
</Route>
<Route path="error/*" element={<ErrorsRouting />} />
<Route path="auth/*" element={<AuthPage />} />
<Route path="*" element={<Navigate to="/error/404" />} />