From f6d7fcbb50ef57f1f7d7ca8cacd711ffd576e600 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 2 Jun 2020 17:38:14 +0200 Subject: showing pages for graph. getting urls right --- frontend/common/header.component.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'frontend/common') diff --git a/frontend/common/header.component.js b/frontend/common/header.component.js index 5cb15b5..9e96e80 100644 --- a/frontend/common/header.component.js +++ b/frontend/common/header.component.js @@ -8,7 +8,7 @@ function Header(props) { return (
- swimmer + {props.site.siteTitle}
changeUsername()}> @@ -29,9 +29,10 @@ const changeUsername = () => { const mapStateToProps = (state) => ({ - auth: state.auth, + // auth: state.auth, + site: state.site, username: session.get('username'), - isAuthenticated: state.auth.isAuthenticated, + // isAuthenticated: state.auth.isAuthenticated, }) const mapDispatchToProps = (dispatch) => ({ -- cgit v1.2.3-70-g09d2