diff --git a/packages/flat-stores/src/global-store.ts b/packages/flat-stores/src/global-store.ts index ca13381c36a..26ebb1c34ee 100644 --- a/packages/flat-stores/src/global-store.ts +++ b/packages/flat-stores/src/global-store.ts @@ -236,8 +236,8 @@ export class GlobalStore { }; public deleteAccount = (): void => { - globalStore.updateUserInfo(null); - globalStore.deleteCurrentAccountFromHistory(); + this.updateUserInfo(null); + this.deleteCurrentAccountFromHistory(); this.pmi = null; this.pmiRoomList = null; diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 3fc82666d68..352d8fba7c5 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,4 +1,4 @@ -workspaces: +packages: - "desktop/**" - "web/**" - "packages/**"