diff options
Diffstat (limited to 'frontend/common/header.component.js')
| -rw-r--r-- | frontend/common/header.component.js | 7 |
1 files changed, 4 insertions, 3 deletions
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 ( <header> <div> - <Link to="/" className="logo"><b>swimmer</b></Link> + <Link to="/" className="logo"><b>{props.site.siteTitle}</b></Link> </div> <div> <span className='username' onClick={() => 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) => ({ |
