fix bug about not redirrecting on login

This commit is contained in:
MathMan05 2024-08-19 11:00:04 -05:00
parent f3a9851f62
commit 34439f031b
2 changed files with 3 additions and 2 deletions

View file

@ -52,7 +52,6 @@ function trimswitcher() {
localStorage.setItem("userinfos", JSON.stringify(json));
console.log(json);
}
trimswitcher();
function getBulkInfo() {
return JSON.parse(localStorage.getItem("userinfos"));
}
@ -384,3 +383,4 @@ if (switchurl) {
}
}
export { checkInstance };
trimswitcher();

View file

@ -51,7 +51,7 @@ function trimswitcher(){
localStorage.setItem("userinfos",JSON.stringify(json));
console.log(json);
}
trimswitcher();
function getBulkInfo(){
return JSON.parse(localStorage.getItem("userinfos"));
}
@ -377,3 +377,4 @@ if(switchurl){
}
}
export {checkInstance};
trimswitcher();