From e9ace808eb9c5fbc4775fa1a89231543d79c36dc Mon Sep 17 00:00:00 2001 From: Monica <36325249+syt-honey@users.noreply.github.com> Date: Wed, 15 Nov 2023 14:47:48 +0800 Subject: [PATCH] fix(flat-stores): fix wrong target (#2085) --- packages/flat-stores/src/global-store.ts | 4 ++-- pnpm-workspace.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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/**"