chore: return loading text if all condition unmet

This commit is contained in:
ValdiANS
2025-12-10 17:15:23 +07:00
parent 30ab48e426
commit cfaac14820
+1 -2
View File
@@ -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...</>;
}