We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 275dc8a commit 149aa84Copy full SHA for 149aa84
src/modules/Bingo/BingoQR.tsx
@@ -10,12 +10,12 @@ const BingoQR = () => {
10
const fetchData = async () => {
11
const origin_id = atob(id);
12
const myId = localStorage.getItem("myID");
13
- if (myId === null || myId === "") window.location.href = "";
+ if (myId === null || myId === "") window.location.href = "/";
14
15
const user = await getUser(myId);
16
if (user === null || user.ok === false) {
17
localStorage.setItem("myID", "");
18
- window.location.href = "";
+ window.location.href = "/";
19
}
20
21
const result = await updateBingoBoard(origin_id, user.user_id);
0 commit comments