wrap the not-authorized warning in a template

This commit is contained in:
Riley Davis
2017-05-17 15:47:41 -06:00
parent 4a97db3357
commit 54abaeb587
@@ -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 />;
}