Skip to content

Commit

Permalink
Fix APM lodash imports (#78438)
Browse files Browse the repository at this point in the history
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
smith and elasticmachine authored Sep 28, 2020
1 parent 54a2c75 commit 33e3aa2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@

import cytoscape from 'cytoscape';
import dagre from 'cytoscape-dagre';
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import isEqual from 'lodash/isEqual';
import { isEqual } from 'lodash';
import React, {
createContext,
CSSProperties,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
*/

import cytoscape from 'cytoscape';
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
// eslint-disable-next-line no-restricted-imports
import debounce from 'lodash/debounce';
import { debounce } from 'lodash';
import { useEffect } from 'react';
import { EuiTheme, useUiTracker } from '../../../../../observability/public';
import { getAnimationOptions, getNodeHeight } from './cytoscapeOptions';
Expand Down

0 comments on commit 33e3aa2

Please sign in to comment.