mirror of
https://github.com/wassname/talk.git
synced 2026-07-17 11:33:39 +08:00
Notify on error (embed stream -> profile)
This commit is contained in:
@@ -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} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user