mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: added user store variables in mobx store observable (#2380)
This commit is contained in:
parent
1c43d313d1
commit
62035f3bad
@ -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…
Reference in New Issue
Block a user