Skip to content

Commit

Permalink
refactor(map): rm dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
nurikk committed Aug 12, 2021
1 parent 14ea84a commit c268689
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/components/map/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,6 @@ export class MapComponent extends Component<PropsFromStore & MapApi & WithTransl

updateNodes = (): void => {
const { networkGraph } = this.props;
if (!networkGraph.nodes.length) {
return;
}
const { visibleLinks, selectedNode, width, height } = this.state;
const container = select<SVGElement, {}>(this.svgRef.current as SVGElement);
const node = container.selectAll<SVGElement, NodeI>(`.${style.node}`);
Expand Down

0 comments on commit c268689

Please sign in to comment.