clgs removed
This commit is contained in:
parent
6ced2622ce
commit
b9ea40db20
|
|
@ -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]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue