Skip to content
Snippets Groups Projects
Commit 9ad05c48 authored by Tom Robinson's avatar Tom Robinson
Browse files

Frontend lint fixes

parent b9533d43
No related branches found
No related tags found
No related merge requests found
...@@ -247,7 +247,7 @@ const EditMap = ({ map, onMapChange, originalMap, geoJson, geoJsonLoading, geoJs ...@@ -247,7 +247,7 @@ const EditMap = ({ map, onMapChange, originalMap, geoJson, geoJsonLoading, geoJs
</SettingContainer> </SettingContainer>
{ (geoJson || geoJsonLoading || geoJsonError) && { (geoJson || geoJsonLoading || geoJsonError) &&
<LoadingAndErrorWrapper loading={geoJsonLoading} error={geoJsonError}> <LoadingAndErrorWrapper loading={geoJsonLoading} error={geoJsonError}>
{ () => { () => // eslint-disable-line react/display-name
<div> <div>
<SettingContainer description="Which property specifies the region’s identifier?"> <SettingContainer description="Which property specifies the region’s identifier?">
<GeoJsonPropertySelect <GeoJsonPropertySelect
......
...@@ -14,7 +14,7 @@ const LegacyChoropleth = ({ series, geoJson, projection, getColor, onHoverFeatur ...@@ -14,7 +14,7 @@ const LegacyChoropleth = ({ series, geoJson, projection, getColor, onHoverFeatur
return ( return (
<div className="absolute top bottom left right flex layout-centered"> <div className="absolute top bottom left right flex layout-centered">
<ShouldUpdate series={series} shouldUpdate={(props, nextProps) => !isSameSeries(props.series, nextProps.series)}> <ShouldUpdate series={series} shouldUpdate={(props, nextProps) => !isSameSeries(props.series, nextProps.series)}>
{ () => { () => // eslint-disable-line react/display-name
<svg className="flex-full m1" viewBox={`0 0 ${width} ${height}`}> <svg className="flex-full m1" viewBox={`0 0 ${width} ${height}`}>
{geoJson.features.map((feature, index) => {geoJson.features.map((feature, index) =>
<path <path
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment