add and use isAuthenticated method
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
export function getUser() {
|
||||
return Promise.resolve(null);
|
||||
}
|
||||
|
||||
export function isAuthenticated() {
|
||||
return getUser().then(Boolean);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user