From 751a9ef3a12c952fe179f256d854d0c4aa37e28e Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Wed, 4 Oct 2017 22:49:07 +0200 Subject: Apply prettier to codebase --- src/components/navigation/AppNavbar.js | 97 ++++++++++++++++++---------------- 1 file changed, 51 insertions(+), 46 deletions(-) (limited to 'src/components/navigation/AppNavbar.js') diff --git a/src/components/navigation/AppNavbar.js b/src/components/navigation/AppNavbar.js index 90724a3e..ab4b8412 100644 --- a/src/components/navigation/AppNavbar.js +++ b/src/components/navigation/AppNavbar.js @@ -1,53 +1,58 @@ -import React from 'react'; +import React from "react"; import FontAwesome from "react-fontawesome"; import Mailto from "react-mailto"; -import {Link} from "react-router-dom"; -import Navbar, {NavItem} from "./Navbar"; +import { Link } from "react-router-dom"; +import Navbar, { NavItem } from "./Navbar"; import "./Navbar.css"; -const AppNavbar = ({simulationId, inSimulation, fullWidth}) => ( - - {inSimulation ? - - - - Construction - - : - undefined - } - {inSimulation ? - - - - Experiments - - : - undefined - } - - - - My Simulations - - - - - - Support - - - +const AppNavbar = ({ simulationId, inSimulation, fullWidth }) => ( + + {inSimulation ? ( + + + + Construction + + + ) : ( + undefined + )} + {inSimulation ? ( + + + + Experiments + + + ) : ( + undefined + )} + + + + My Simulations + + + + + + Support + + + ); export default AppNavbar; -- cgit v1.2.3