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) => {
|
.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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue