mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-01 08:18:12 +08:00
more lint - components (#336)
* more lint * fix typo introduced in delinting * more lint * remove dead code * lint fixes * lint
This commit is contained in:
@@ -6,8 +6,7 @@ import { connect } from "react-redux";
|
||||
import mat4 from "gl-mat4";
|
||||
import _regl from "regl";
|
||||
|
||||
import { FaCrosshairs } from "react-icons/fa";
|
||||
import { FaSearchPlus } from "react-icons/fa";
|
||||
import { FaCrosshairs, FaSearchPlus } from "react-icons/fa";
|
||||
|
||||
import * as globals from "../../globals";
|
||||
import setupSVGandBrushElements from "./setupSVGandBrush";
|
||||
@@ -192,13 +191,13 @@ class Graph extends React.Component {
|
||||
d3.select("#graphAttachPoint")
|
||||
.selectAll("svg")
|
||||
.remove();
|
||||
const { svg, brush, brushContainer } = setupSVGandBrushElements(
|
||||
const { svg: newSvg, brush, brushContainer } = setupSVGandBrushElements(
|
||||
this.handleBrushSelectAction.bind(this),
|
||||
this.handleBrushDeselectAction.bind(this),
|
||||
responsive,
|
||||
this.graphPaddingTop
|
||||
);
|
||||
this.setState({ svg, brush, brushContainer });
|
||||
this.setState({ svg: newSvg, brush, brushContainer });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user