feat: add role user modules and shared table updates
This commit is contained in:
@@ -17,7 +17,6 @@ export function AuthGuard({ children }: { children: ReactNode }) {
|
||||
if (!isInitialized) return;
|
||||
|
||||
if (!accessToken) {
|
||||
console.debug('[auth] guard:redirect-login');
|
||||
router.replace(ROUTES.LOGIN);
|
||||
}
|
||||
}, [accessToken, isInitialized, router]);
|
||||
|
||||
Reference in New Issue
Block a user