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