Skip to content

Commit

Permalink
more eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmadigan committed Aug 21, 2024
1 parent 8c79b22 commit 560d8d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/PolicyTopology.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useEffect, useRef, useCallback, useState } from 'react';
import * as d3 from 'd3';
import 'd3-graphviz';
import { graphviz } from 'd3-graphviz'; // eslint-disable-line no-unused-vars
import graphlib from 'graphlib';
import * as dot from 'graphlib-dot';
import { Dropdown, DropdownToggle, DropdownItem, Title, Button } from '@patternfly/react-core';
Expand Down Expand Up @@ -108,6 +108,7 @@ const PolicyTopology = ({ dotString }) => {
setSelectedLabel('Select a resource');
setFilteredDot(dotString);
};

useEffect(() => {
if (containerRef.current && filteredDot) {
const renderGraph = () => {
Expand Down

0 comments on commit 560d8d4

Please sign in to comment.