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;