diff --git a/client/src/components/graph/overlays/centroidLabels.js b/client/src/components/graph/overlays/centroidLabels.js index e8d3da00..941a1287 100644 --- a/client/src/components/graph/overlays/centroidLabels.js +++ b/client/src/components/graph/overlays/centroidLabels.js @@ -150,7 +150,7 @@ class CentroidLabels extends PureComponent { dilatedValue={dilatedValue} coords={coords} inverseTransform={inverseTransform} - opactity={selected ? 1 : deselectOpacity} + opacity={selected ? 1 : deselectOpacity} colorAccessor={colorAccessor} displayLabel={displayLabel} onMouseEnter={this.handleMouseEnter} @@ -205,7 +205,7 @@ const Label = ({ fontWeight, fill: "black", userSelect: "none", - opacity: { opacity }, + opacity, }} onMouseEnter={(e) => onMouseEnter(e, colorAccessor, label)} onMouseOut={(e) => onMouseOut(e, colorAccessor, label)}