We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 53b29d4 + 3d2c581 commit f2494b2Copy full SHA for f2494b2
src/Opex.js
@@ -66,9 +66,10 @@ function Opex() {
66
{/* public routes */}
67
<Route path={RoutesName.login} element={<Login/>}/>
68
<Route element={<Layout/>}>
69
- <Route path="/" element={<Dashboard/>}/>
+
70
{/* private routes */}
71
<Route element={<RequireAuth allowedRoles={[ROLES.admin]}/>}>
72
+ <Route path="/" element={<Dashboard/>}/>
73
<Route path={RoutesName.users} element={<Users/>}/>
74
<Route path={RoutesName.showUser} element={<UserInfo/>}/>
75
<Route path={RoutesName.withdraws} element={<Withdraws/>}/>
0 commit comments