lint jsx files

This commit is contained in:
Lachlan Kermode
2019-01-23 11:35:34 +00:00
parent 939a4833b8
commit fb4d0c2d86
28 changed files with 572 additions and 627 deletions

View File

@@ -1,33 +1,33 @@
import React from 'react';
import React from 'react'
import SitesIcon from './presentational/Icons/SitesIcon.js';
// import RefreshIcon from './presentational/Icons/RefreshIcon.js';
// import CoeventIcon from './presentational/Icons/CoeventIcon.js';
// import RouteIcon from './presentational/Icons/RouteIcon.js';
import SitesIcon from './presentational/Icons/Sites.js'
// import RefreshIcon from './presentational/Icons/RefreshIcon.js'
// import CoeventIcon from './presentational/Icons/CoeventIcon.js'
// import RouteIcon from './presentational/Icons/RouteIcon.js'
function ToolbarBottomActions (props) {
function renderMapActions() {
function renderMapActions () {
return (
<div className="bottom-action-block">
<div className='bottom-action-block'>
{process.env.features.USE_SITES ? <SitesIcon
isActive={props.sites.enabled}
onClickHandler={props.sites.toggle}
/> : null}
</div>
);
)
}
return (
<div className="bottom-actions">
<div className='bottom-actions'>
{renderMapActions()}
<div className="bottom-action-block">
{/* <button className="action-button tiny default" onClick={() => { toggleLanguage()}}> */}
<div className='bottom-action-block'>
{/* <button className='action-button tiny default' onClick={() => { toggleLanguage()}}> */}
{/* {(props.language === 'es-MX') ? 'ES' : 'EN' } */}
{/* </button> */}
{/* <button className="action-button info tiny default" onClick={() => { this.toggleInfoPopup()}}> */}
{/* <button className='action-button info tiny default' onClick={() => { this.toggleInfoPopup()}}> */}
{/* i */}
{/* </button> */}
{/* <button className="action-button tiny" onClick={() => this.resetAllFilters()}> */}
{/* <button className='action-button tiny' onClick={() => this.resetAllFilters()}> */}
{/* <RefreshIcon /> */}
{/* </button> */}
</div>
@@ -35,4 +35,4 @@ function ToolbarBottomActions (props) {
)
}
export default ToolbarBottomActions;
export default ToolbarBottomActions