Adds logout for non-admin users

This commit is contained in:
Matt Montgomery
2018-02-05 17:17:51 -07:00
committed by GitHub
parent 869fb9d029
commit c289ed149f
+4 -1
View File
@@ -75,7 +75,10 @@ class LayoutContainer extends React.Component {
);
} else if (loggedIn) {
return (
<Layout {...this.props}>
<Layout
handleLogout={logout}
{...this.props}
>
<p>
This page is for team use only. Please contact an administrator if
you want to join this team.