temp
This commit is contained in:
@@ -21,6 +21,9 @@ export const pollLoginStatus = async (token: string, opts: PollLoginOptions) =>
|
||||
load.load(
|
||||
async () => {
|
||||
const res = await queryLogin.checkLoginStatus(token);
|
||||
if (res.code === 500) {
|
||||
load.cancel('check-login-status');
|
||||
}
|
||||
return res;
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user