fixes(frontend): fixed small types/incorrect code
This commit is contained in:
parent
16cac7e111
commit
fac6df3882
5 changed files with 5 additions and 7 deletions
|
|
@ -14,7 +14,7 @@ export function getUser(): Readonly<User> | null {
|
|||
}
|
||||
|
||||
export function isLogged(): boolean {
|
||||
return currentUser === null;
|
||||
return currentUser !== null;
|
||||
}
|
||||
|
||||
export function setUser(newUser: User | null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue