diff --git a/app/(main)/lottery/page.tsx b/app/(main)/lottery/page.tsx index 3bc70e1..3cab13e 100644 --- a/app/(main)/lottery/page.tsx +++ b/app/(main)/lottery/page.tsx @@ -29,6 +29,7 @@ const LotteryPage = () => { .then((response) => { if (response.errorMessage) { // If authentication fails, redirect to the auth page + console.log("lotter/", response); router.replace("/lottery/auth"); } else { // ✅ Set the authenticated state