From c1f35b024be3555f1f4692326f3e595416e3e9d6 Mon Sep 17 00:00:00 2001 From: Tom Russell Date: Tue, 2 Oct 2018 21:48:13 +0100 Subject: [PATCH] Link to pages from main nav --- app/src/frontend/header.js | 80 +++++++++++++++++++------------------- 1 file changed, 41 insertions(+), 39 deletions(-) diff --git a/app/src/frontend/header.js b/app/src/frontend/header.js index 898dbe78..d8d2037f 100644 --- a/app/src/frontend/header.js +++ b/app/src/frontend/header.js @@ -1,4 +1,4 @@ -import React from 'react'; +import React, { Fragment } from 'react'; import { NavLink } from 'react-router-dom'; import Logo from './logo'; @@ -7,48 +7,50 @@ import './header.css'; /** * Main Header */ -function Header(props) { - if (props.user) { - return ( -
- -
- ); - } else { - return ( -
- +
+); + export default Header;