mirror of
https://github.com/wassname/talk.git
synced 2026-07-06 05:17:19 +08:00
wrap the not-authorized warning in a template
This commit is contained in:
@@ -55,7 +55,11 @@ class LayoutContainer extends Component {
|
||||
/>
|
||||
);
|
||||
} else if (loggedIn) {
|
||||
return <p>This page is for team use only. Please contact an administrator if you want to join this team.</p>;
|
||||
return (
|
||||
<Layout {...this.props}>
|
||||
<p>This page is for team use only. Please contact an administrator if you want to join this team.</p>;
|
||||
</Layout>
|
||||
);
|
||||
}
|
||||
return <FullLoading />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user