mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-08 16:08:11 +08:00
typo fix (#2460)
This commit is contained in:
@@ -57,11 +57,12 @@ class CentroidLabels extends PureComponent {
|
|||||||
};
|
};
|
||||||
|
|
||||||
handleMouseEnter = (e, colorAccessor, label) => {
|
handleMouseEnter = (e, colorAccessor, label) => {
|
||||||
|
console.log(colorAccessor, label);
|
||||||
const { dispatch } = this.props;
|
const { dispatch } = this.props;
|
||||||
dispatch({
|
dispatch({
|
||||||
type: "category value mouse hover start",
|
type: "category value mouse hover start",
|
||||||
metadataField: colorAccessor,
|
metadataField: colorAccessor,
|
||||||
categoryField: label,
|
label,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -70,7 +71,7 @@ class CentroidLabels extends PureComponent {
|
|||||||
dispatch({
|
dispatch({
|
||||||
type: "category value mouse hover end",
|
type: "category value mouse hover end",
|
||||||
metadataField: colorAccessor,
|
metadataField: colorAccessor,
|
||||||
categoryField: label,
|
label,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user