console log added to the lotter to test
This commit is contained in:
parent
ecaaa6e2cc
commit
43bb74c47e
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue