From 659bde85d105a00a291ae0b0bf52359fa7ccae3a Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Sun, 11 Jan 2026 15:16:11 +0900 Subject: [PATCH] fix types --- packages/frontend/src/accounts.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/frontend/src/accounts.ts b/packages/frontend/src/accounts.ts index 21ceb04252..f1dd5f622c 100644 --- a/packages/frontend/src/accounts.ts +++ b/packages/frontend/src/accounts.ts @@ -35,8 +35,8 @@ export async function getAccounts(): Promise { host, id: user.id, username: user.username, - user: accountInfos[host + '/' + user.id], - token: tokens[host + '/' + user.id] ?? null, + user: accountInfos[`${host}/${user.id}`], + token: tokens[`${host}/${user.id}`] ?? null, })); } @@ -224,7 +224,7 @@ export async function login(token: AccountWithToken['token'], redirect?: string, } export async function switchAccount(host: string, id: string) { - const token = store.s.accountTokens[host + '/' + id]; + const token = store.s.accountTokens[`${host}/${id}`]; if (token) { login(token); } else {