diff --git a/src/client/account.ts b/src/client/account.ts index e6ee8613d2..05faeb3220 100644 --- a/src/client/account.ts +++ b/src/client/account.ts @@ -62,6 +62,7 @@ export function updateAccount(data) { for (const [key, value] of Object.entries(data)) { $i[key] = value; } + localStorage.setItem('account', JSON.stringify($i)); } export function refreshAccount() {