Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipb committed Nov 19, 2020
1 parent 6290c27 commit b01d290
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,12 @@ const TabComponent = (props: TabProps) => {
const memoryChartRef = useRef<Chart>(null);
const loadChartRef = useRef<Chart>(null);
const [time, setTime] = useState(60 * 60 * 1000);
const chartRefs = [cpuChartRef, networkChartRef, memoryChartRef, loadChartRef];
const chartRefs = useMemo(() => [cpuChartRef, networkChartRef, memoryChartRef, loadChartRef], [
cpuChartRef,
networkChartRef,
memoryChartRef,
loadChartRef,
]);
const { sourceId, createDerivedIndexPattern } = useSourceContext();
const { nodeType, accountId, region } = useWaffleOptionsContext();
const { currentTime, options, node } = props;
Expand Down

0 comments on commit b01d290

Please sign in to comment.