DB migrations
Google button
This commit is contained in:
@ -16,8 +16,10 @@ let authenticatedStores;
|
||||
|
||||
const Auth = ({ children }: Props) => {
|
||||
if (stores.auth.authenticated) {
|
||||
stores.auth.fetch();
|
||||
|
||||
// TODO: Show loading state
|
||||
if (!stores.auth.team || !stores.auth.user) {
|
||||
stores.auth.fetch();
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user