fix: auth screens (#2054)
This commit is contained in:
parent
441e83eba6
commit
54d781ef91
4 changed files with 69 additions and 13 deletions
|
|
@ -28,8 +28,9 @@ class UserStore implements IUserStore {
|
|||
}
|
||||
|
||||
setCurrentUser = (user: any) => {
|
||||
// TODO: destructure user object
|
||||
this.currentUser = user;
|
||||
runInAction(() => {
|
||||
this.currentUser = { ...user };
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue