update correct url for admin/settings

This commit is contained in:
Satyam Rastogi
2026-05-21 16:52:58 +05:30
parent 371c52fe9d
commit 680b2b4cfe
2 changed files with 7 additions and 2 deletions
+6 -1
View File
@@ -217,7 +217,12 @@ function App() {
</ProtectedRoute>
} />
<Route path="/owner/settings" element={
<ProtectedRoute allowedRoles={['OWNER','ADMIN']}>
<ProtectedRoute allowedRoles={['OWNER']}>
<OrgSettings />
</ProtectedRoute>
} />
<Route path="/admin/settings" element={
<ProtectedRoute allowedRoles={['ADMIN']}>
<OrgSettings />
</ProtectedRoute>
} />