console log added to the lotter to test

This commit is contained in:
Kakabay 2025-01-29 18:18:40 +05:00
parent ecaaa6e2cc
commit 43bb74c47e
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ const LotteryPage = () => {
.then((response) => { .then((response) => {
if (response.errorMessage) { if (response.errorMessage) {
// If authentication fails, redirect to the auth page // If authentication fails, redirect to the auth page
console.log("lotter/", response);
router.replace("/lottery/auth"); router.replace("/lottery/auth");
} else { } else {
// ✅ Set the authenticated state // ✅ Set the authenticated state