fix side list

This commit is contained in:
MathMan05 2024-10-30 20:20:53 -05:00
parent 80e6fb1924
commit 41e89a1f6b
2 changed files with 8 additions and 6 deletions

View file

@ -474,9 +474,7 @@ async function login(username: string, password: string, captcha: string){
console.warn(res);
if(!res.token)return;
adduser({
serverurls: JSON.parse(
localStorage.getItem("instanceinfo")!
),
serverurls: JSON.parse(localStorage.getItem("instanceinfo") as string),
email: username,
token: res.token,
}).username = username;