Hotfix #27

Merged
kyle merged 2 commits from development into main 2026-09-21 12:27:37 -05:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ const useConsumeCode = (onWrongCode: () => void) => {
} else {
queryClient.setQueryData(playerKeys.auth, response.data);
toast.success(t`Successfully logged in. Welcome back!`);
navigate({ to: '/' })
window.location.href = '/';
}
} else if (data.status === 'INCORRECT_USER_INPUT_CODE_ERROR') {
onWrongCode();
+1 -1
View File
@@ -21,7 +21,7 @@ const useCreateUser = () => {
...old,
user: data
}));
navigate({ to: '/' });
window.location.href = '/';
}
});
};