fix: added user store variables in mobx store observable (#2380)
This commit is contained in:
parent
1c43d313d1
commit
62035f3bad
1 changed files with 3 additions and 0 deletions
|
|
@ -27,6 +27,9 @@ class UserStore implements IUserStore {
|
||||||
constructor(_rootStore: any) {
|
constructor(_rootStore: any) {
|
||||||
makeObservable(this, {
|
makeObservable(this, {
|
||||||
// observable
|
// observable
|
||||||
|
loader: observable.ref,
|
||||||
|
error: observable.ref,
|
||||||
|
|
||||||
currentUser: observable.ref,
|
currentUser: observable.ref,
|
||||||
// actions
|
// actions
|
||||||
setCurrentUser: action,
|
setCurrentUser: action,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue