fix: added user store variables in mobx store observable (#2380)

This commit is contained in:
guru_sainath 2023-10-05 12:04:09 +05:30 committed by GitHub
parent 1c43d313d1
commit 62035f3bad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,9 @@ class UserStore implements IUserStore {
constructor(_rootStore: any) {
makeObservable(this, {
// observable
loader: observable.ref,
error: observable.ref,
currentUser: observable.ref,
// actions
setCurrentUser: action,