Skip to content

Commit e9ace80

Browse files
authored
fix(flat-stores): fix wrong target (netless-io#2085)
1 parent 5949ba6 commit e9ace80

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/flat-stores/src/global-store.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ export class GlobalStore {
236236
};
237237

238238
public deleteAccount = (): void => {
239-
globalStore.updateUserInfo(null);
240-
globalStore.deleteCurrentAccountFromHistory();
239+
this.updateUserInfo(null);
240+
this.deleteCurrentAccountFromHistory();
241241

242242
this.pmi = null;
243243
this.pmiRoomList = null;

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
workspaces:
1+
packages:
22
- "desktop/**"
33
- "web/**"
44
- "packages/**"

0 commit comments

Comments
 (0)