Linting fixes

This commit is contained in:
efarooqui
2020-10-19 09:11:08 -07:00
parent 3bf80bce00
commit 9200019d1e
3 changed files with 5 additions and 5 deletions

View File

@@ -353,7 +353,7 @@ class Map extends React.Component {
<React.Fragment>
{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()}

View File

@@ -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 (

View File

@@ -2,9 +2,9 @@ import React from 'react'
const DefsClusters = () => (
<defs>
<radialGradient id="clusterGradient">
<stop offset="10%" stop-color="red"/>
<stop offset="90%" stop-color="transparent"/>
<radialGradient id='clusterGradient'>
<stop offset='10%' stop-color='red' />
<stop offset='90%' stop-color='transparent' />
</radialGradient>
</defs>
)