Skip to content

Commit 94c6f37

Browse files
authored
Merge pull request #997 from hesperanca/patch-1
Charts not updating properly when properties are changed
2 parents 3c49849 + 3003196 commit 94c6f37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controls/chartControl/ChartControl.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ export class ChartControl extends React.Component<IChartControlProps, IChartCont
284284
type,
285285
plugins,
286286
useTheme
287-
} = this.props;
287+
} = props;
288288

289289
// add event handlers -- if they weren't already provided through options
290290
if (this.props.onClick !== undefined) {

0 commit comments

Comments
 (0)