clgs removed
This commit is contained in:
parent
6ced2622ce
commit
b9ea40db20
|
|
@ -10,9 +10,7 @@ const LotteryAuthPage = () => {
|
||||||
const { isAuthenticated, logout } = useLotteryAuth();
|
const { isAuthenticated, logout } = useLotteryAuth();
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
console.log("Auth page - Authentication state:", isAuthenticated);
|
|
||||||
if (isAuthenticated) {
|
if (isAuthenticated) {
|
||||||
console.log("Auth page - Redirecting to lottery...");
|
|
||||||
router.push("/lottery");
|
router.push("/lottery");
|
||||||
}
|
}
|
||||||
}, [isAuthenticated, router]);
|
}, [isAuthenticated, router]);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue