Skip to content

Commit

Permalink
feat(chart): fixed build error
Browse files Browse the repository at this point in the history
  • Loading branch information
SNosenko authored and SNosenko committed Sep 14, 2021
1 parent 5c9b321 commit 2efdd22
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,6 @@
"arui-cssvars/use-variables": false,
"stylelint-core-vars/use-vars": true,
"stylelint-core-vars/use-mixins": true,
"selector-pseudo-class-no-unknown": [true, {
"ignorePseudoClasses": ["global"]
}],
"stylelint-core-vars/use-one-of-vars": [
true,
{
Expand Down
2 changes: 1 addition & 1 deletion packages/chart/src/Component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ const Chart = ({ options }: ChartsPropsTypes) => {
(state.brush?.brushMargin ? state.brush.brushMargin : 0);
setYBrush(brushY);
}, [heightLegend, state]);

// eslint-disable-next-line complexity
useEffect(() => {
const initData: DataDynamicProps[] = [];
const chartsNames: DataDynamicBooleanProps = {};
Expand Down
2 changes: 1 addition & 1 deletion packages/chart/src/types/charts.type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ export interface ChartsProps {
/**
* "Положение" в поле просмотра декартовых координат
*/
labels: string[] | number[];
labels: Array<string | number>;
children?: React.ReactNode;
}

0 comments on commit 2efdd22

Please sign in to comment.