mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 13:28:36 +03:00
lint jsx files
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user