diff --git a/src/common/components/login-required/index.tsx b/src/common/components/login-required/index.tsx index d1b4f1c4f1b..ee2b14f980f 100644 --- a/src/common/components/login-required/index.tsx +++ b/src/common/components/login-required/index.tsx @@ -3,7 +3,7 @@ import React, { Component } from "react"; import { User } from "../../store/users/types"; import { Account } from "../../store/accounts/types"; import { ActiveUser } from "../../store/active-user/types"; -import { UI, ToggleType } from "../../store/ui/types"; +import { ToggleType, UI } from "../../store/ui/types"; interface Props { users: User[]; @@ -25,7 +25,7 @@ export class LoginRequired extends Component { render() { const { children, activeUser } = this.props; - if (activeUser) { + if (activeUser && activeUser.data.__loaded) { return children; }