Merge from Dev #8
@@ -143,7 +143,7 @@ const AcceptInvitation = () => {
|
||||
|
||||
// Redirect based on role
|
||||
if (user.role === 'admin' || user.role === 'superadmin') {
|
||||
navigate('/admin/dashboard');
|
||||
navigate('/admin');
|
||||
} else {
|
||||
navigate('/dashboard');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user