From 1eb6137dbc28b3d471cc471f91605a3c7931e0ac Mon Sep 17 00:00:00 2001 From: tamaina Date: Fri, 29 Oct 2021 01:02:23 +0900 Subject: [PATCH] null --- src/client/account.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/account.ts b/src/client/account.ts index 63c68487fc..b11d665545 100644 --- a/src/client/account.ts +++ b/src/client/account.ts @@ -122,7 +122,7 @@ export async function login(token: Account['token'], redirect?: string) { await addAccount(me.id, token); if (redirect) { - reloadChannel.postMessage('reload'); + reloadChannel.postMessage(null); location.href = redirect; return; }