Fixing extraneous errors with html attrs

This commit is contained in:
efarooqui
2021-05-10 16:07:12 -07:00
parent 0b989465f6
commit c06afb9919
3 changed files with 6 additions and 6 deletions

View File

@@ -39,7 +39,7 @@ function ColoredMarkers({ radius, colorPercentMap, styles, className }) {
return (
<path
class={className}
className={className}
id={`arc_${idx}`}
d={arc}
style={extraStyles}

View File

@@ -110,19 +110,19 @@ function ClusterEvents({
return (
<>
<text
text-anchor="middle"
textAnchor="middle"
y="3px"
style={{ fontWeight: "bold", fill: "black", zIndex: 10000 }}
>
{txt}
</text>
<circle
class="event-hover"
className="event-hover"
cx="0"
cy="0"
r={circleSize + 2}
stroke={colors.primaryHighlight}
fill-opacity="0.0"
fillOpacity="0.0"
/>
</>
);

View File

@@ -35,12 +35,12 @@ function MapEvents({
return (
<>
<circle
class="event-hover"
className="event-hover"
cx="0"
cy="0"
r="10"
stroke={colors.primaryHighlight}
fill-opacity="0.0"
fillOpacity="0.0"
/>
</>
);