mirror of
https://github.com/wassname/talk.git
synced 2026-10-04 13:10:23 +08:00
wrap the not-authorized warning in a template
This commit is contained in:
1 parent
4a97db3357
commit
54abaeb587
1 file changed
+5
-1
@@ -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