From 9200019d1e60d81d1bab50d945ffdc0eb68a673b Mon Sep 17 00:00:00 2001 From: efarooqui Date: Mon, 19 Oct 2020 09:11:08 -0700 Subject: [PATCH] Linting fixes --- src/components/Map.jsx | 2 +- src/components/presentational/Map/Clusters.jsx | 2 +- src/components/presentational/Map/DefsClusters.jsx | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/Map.jsx b/src/components/Map.jsx index 89e2c91..46aa135 100644 --- a/src/components/Map.jsx +++ b/src/components/Map.jsx @@ -353,7 +353,7 @@ class Map extends React.Component { {this.renderTiles()} {this.renderMarkers()} - {this.props.ui.radial ? this.renderClusterGradients(): null} + {this.props.ui.radial ? this.renderClusterGradients() : null} {isShowingSites ? this.renderSites() : null} {this.renderShapes()} {this.renderNarratives()} diff --git a/src/components/presentational/Map/Clusters.jsx b/src/components/presentational/Map/Clusters.jsx index cbd8cc4..62ccaf9 100644 --- a/src/components/presentational/Map/Clusters.jsx +++ b/src/components/presentational/Map/Clusters.jsx @@ -31,7 +31,7 @@ function ClusterEvents ({ fill: isRadial ? "url('#clusterGradient')" : colors.fallbackEventColor, stroke: colors.darkBackground, strokeWidth: 0, - fillOpacity: calcClusterOpacity(pointCount, totalPoints), + fillOpacity: calcClusterOpacity(pointCount, totalPoints) }) return ( diff --git a/src/components/presentational/Map/DefsClusters.jsx b/src/components/presentational/Map/DefsClusters.jsx index 577ab42..1cf264b 100644 --- a/src/components/presentational/Map/DefsClusters.jsx +++ b/src/components/presentational/Map/DefsClusters.jsx @@ -2,9 +2,9 @@ import React from 'react' const DefsClusters = () => ( - - - + + + )