mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Fix APM lodash imports (#78438)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
54a2c75097
commit
33e3aa2563
2 changed files with 2 additions and 6 deletions
|
@ -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,
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue