clgs removed

This commit is contained in:
Kakabay 2024-12-30 14:05:42 +05:00
parent 6ced2622ce
commit b9ea40db20
1 changed files with 0 additions and 2 deletions

View File

@ -10,9 +10,7 @@ const LotteryAuthPage = () => {
const { isAuthenticated, logout } = useLotteryAuth();
useEffect(() => {
console.log("Auth page - Authentication state:", isAuthenticated);
if (isAuthenticated) {
console.log("Auth page - Redirecting to lottery...");
router.push("/lottery");
}
}, [isAuthenticated, router]);