feat: Integrate Data Connect and Implement Staff List View Directory
This commit is contained in:
@@ -49,7 +49,7 @@ const AppRoutes: React.FC = () => {
|
||||
element={
|
||||
<ProtectedRoute
|
||||
allowedRoles={['admin']}
|
||||
redirectTo="/dashboard/client"
|
||||
redirectTo="/dashboard/admin"
|
||||
>
|
||||
<AdminDashboard />
|
||||
</ProtectedRoute>
|
||||
@@ -71,7 +71,7 @@ const AppRoutes: React.FC = () => {
|
||||
element={
|
||||
<ProtectedRoute
|
||||
allowedRoles={['vendor']}
|
||||
redirectTo="/dashboard/client"
|
||||
redirectTo="/dashboard/vendor"
|
||||
>
|
||||
<VendorDashboard />
|
||||
</ProtectedRoute>
|
||||
|
||||
Reference in New Issue
Block a user