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/simulations/SimulationAuthList.js | 61 +++++++++++++----------- 1 file changed, 33 insertions(+), 28 deletions(-) (limited to 'src/components/simulations/SimulationAuthList.js') diff --git a/src/components/simulations/SimulationAuthList.js b/src/components/simulations/SimulationAuthList.js index 27b141fe..f29dc96d 100644 --- a/src/components/simulations/SimulationAuthList.js +++ b/src/components/simulations/SimulationAuthList.js @@ -1,38 +1,43 @@ -import PropTypes from 'prop-types'; -import React from 'react'; +import PropTypes from "prop-types"; +import React from "react"; import Shapes from "../../shapes/index"; import SimulationAuthRow from "./SimulationAuthRow"; -const SimulationAuthList = ({authorizations}) => { - return ( -
- {authorizations.length === 0 ? -
- - No simulations here yet... Add some with the 'New Simulation' button! -
: - - - - - - - - - - {authorizations.map(authorization => ( - - ))} - -
Simulation nameLast editedAccess rights -
- } +const SimulationAuthList = ({ authorizations }) => { + return ( +
+ {authorizations.length === 0 ? ( +
+ + No simulations here yet... Add some with the 'New + Simulation' button!
- ); + ) : ( + + + + + + + + + + {authorizations.map(authorization => ( + + ))} + +
Simulation nameLast editedAccess rights +
+ )} +
+ ); }; SimulationAuthList.propTypes = { - authorizations: PropTypes.arrayOf(Shapes.Authorization).isRequired, + authorizations: PropTypes.arrayOf(Shapes.Authorization).isRequired }; export default SimulationAuthList; -- cgit v1.2.3