Notify on error (embed stream -> profile)

This commit is contained in:
Chi Vinh Le
2018-01-23 17:37:52 +01:00
parent 04fd056cab
commit 303e2e84c5
@@ -65,6 +65,10 @@ class ProfileContainer extends Component {
const { me } = this.props.root;
const loading = this.props.data.loading;
if (this.props.data.error) {
return <div>{this.props.data.error.message}</div>;
}
if (!auth.loggedIn) {
return <NotLoggedIn showSignInDialog={showSignInDialog} />;
}