From 6d685e5939285b852914808d7791bf4589434816 Mon Sep 17 00:00:00 2001 From: Michael Best Date: Wed, 21 Oct 2020 00:30:39 -0700 Subject: [PATCH] fix lint errors and warnings --- .../VerticalStackedBarChart.Styled.Example.tsx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/react-examples/src/charting/VerticalStackedBarChart/VerticalStackedBarChart.Styled.Example.tsx b/packages/react-examples/src/charting/VerticalStackedBarChart/VerticalStackedBarChart.Styled.Example.tsx index 591a2fbc5be61..beead3976375f 100644 --- a/packages/react-examples/src/charting/VerticalStackedBarChart/VerticalStackedBarChart.Styled.Example.tsx +++ b/packages/react-examples/src/charting/VerticalStackedBarChart/VerticalStackedBarChart.Styled.Example.tsx @@ -100,7 +100,6 @@ export class VerticalStackedBarChartStyledExample extends React.Component<{}, IV <>
- {/* eslint-disable-next-line react/jsx-no-bind */} this.setState({ width: +e.target.value })} /> - {/* eslint-disable-next-line react/jsx-no-bind */}
- {/* eslint-disable-next-line react/jsx-no-bind */} this.setState({ barGapMax: +e.target.value })} /> - {/* eslint-disable-next-line react/jsx-no-bind */} option && this.setState({ selectedCallout: option.key })} label="Pick one" /> @@ -175,8 +172,8 @@ export class VerticalStackedBarChartStyledExample extends React.Component<{}, IV }, }, }} - // eslint-disable-next-line react/jsx-no-bind, @typescript-eslint/no-explicit-any - onRenderCalloutPerDataPoint={(props: any) => + // eslint-disable-next-line react/jsx-no-bind + onRenderCalloutPerDataPoint={props => props ? (