Skip to content

Commit

Permalink
fix: fix lodash imports (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
melikhov-dev authored Jan 31, 2024
1 parent 040a3d0 commit 27158cb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

import React from 'react';

import {debounce, get} from 'lodash';
import debounce from 'lodash/debounce';
import get from 'lodash/get';

import {getRandomCKId} from '../../../../../utils';
import {cn} from '../../../../../utils/cn';
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/indicator/__stories__/Indicator.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import {Meta, Story} from '@storybook/react';
import {action} from '@storybook/addon-actions';
import {withKnobs, boolean, color as colorKnob, radios, text} from '@storybook/addon-knobs';
import {cloneDeep} from 'lodash';
import cloneDeep from 'lodash/cloneDeep';
import {Button} from '@gravity-ui/uikit';
import {settings} from '../../../libs';
import {ChartKit} from '../../../components/ChartKit';
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/indicator/renderer/IndicatorWidget.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import {isEmpty} from 'lodash';
import isEmpty from 'lodash/isEmpty';
import {i18n} from '../../../i18n';
import {CHARTKIT_ERROR_CODE, ChartKitError} from '../../../libs';
import {CHARTKIT_SCROLLABLE_NODE_CLASSNAME} from '../../../constants';
Expand Down

0 comments on commit 27158cb

Please sign in to comment.