Skip to content

Commit

Permalink
fix(D3 plugin): fix import in utils (#482)
Browse files Browse the repository at this point in the history
chore(D3 plugin): fix import
  • Loading branch information
kuzmadom authored May 17, 2024
1 parent 7cadd8e commit 8cb4624
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"@storybook/react": "^7.0.26",
"@storybook/react-webpack5": "^7.0.26",
"@types/d3": "^7.4.0",
"@types/d3-selection": "^3.0.10",
"@types/jest": "^28.1.3",
"@types/lodash": "^4.14.177",
"@types/node": "^18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/d3/renderer/utils/text.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type {Selection} from 'd3';
import {select} from 'd3';
import {select} from 'd3-selection';

import {BaseTextStyle} from '../../../../types';

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/d3/utils/pie-center-text.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {create} from 'd3';
import {create} from 'd3-selection';
import get from 'lodash/get';

import {getLabelsSize} from '../renderer/utils';
Expand Down

0 comments on commit 8cb4624

Please sign in to comment.