Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit 9312855

Browse files
committed
build: production
1 parent 02c0cae commit 9312855

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

deploy/production/web.tar.gz

-21 Bytes
Binary file not shown.

stores/AccountStore/index.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
markStates,
1212
makeDebugger,
1313
stripMobx,
14-
BStore,
14+
/* BStore, */
1515
Global,
1616
} from '../../utils'
1717
import { User, EmptyUser } from '../SharedModel'
@@ -46,13 +46,6 @@ const AccountStore = t
4646
},
4747
}))
4848
.actions(self => ({
49-
afterAttach() {
50-
const user = BStore.get('user')
51-
if (user) {
52-
console.log('before afterAttach: ', user)
53-
self.updateAccount(user)
54-
}
55-
},
5649
logout() {
5750
self.user = EmptyUser
5851
self.root.preview.close()

0 commit comments

Comments
 (0)