From 942349f5c1c2548c0ca1d49f4e1f625141f7a685 Mon Sep 17 00:00:00 2001 From: Tom Russell Date: Mon, 27 May 2019 16:12:01 +0100 Subject: [PATCH] Whitespace in header.js --- app/src/frontend/header.js | 117 ++++++++++++++++++------------------- 1 file changed, 57 insertions(+), 60 deletions(-) diff --git a/app/src/frontend/header.js b/app/src/frontend/header.js index 02328d58..25c3223b 100644 --- a/app/src/frontend/header.js +++ b/app/src/frontend/header.js @@ -8,81 +8,78 @@ import './header.css'; * Render the main header using a responsive design */ class Header extends React.Component { - - constructor(props) { super(props); this.state = {collapseMenu: true}; this.handleClick = this.handleClick.bind(this); } - handleClick() { this.setState(state => ({ collapseMenu: !state.collapseMenu })); } - render() { - return ( -
- -
+ return ( +
+ +
); } - - } export default Header;