mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
chore: return loading text if all condition unmet
This commit is contained in:
+1
-2
@@ -1,6 +1,5 @@
|
||||
'use client';
|
||||
|
||||
import { useEffect } from 'react';
|
||||
import { usePathname, useRouter } from 'next/navigation';
|
||||
import { useAuth } from '@/services/hooks/useAuth';
|
||||
import { redirectToSSO } from '@/lib/auth-helper';
|
||||
@@ -28,5 +27,5 @@ export default function Home() {
|
||||
return;
|
||||
}
|
||||
|
||||
return null;
|
||||
return <>Loading...</>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user