Skip to content

Commit

Permalink
fix(Highcharts plugin): fix onRender invocation in case of splitted t…
Browse files Browse the repository at this point in the history
…ooltip
  • Loading branch information
korvin89 committed Oct 25, 2024
1 parent 36d1b3b commit cf88842
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export class HighchartsComponent extends React.PureComponent<Props, State> {
constructorType={options?.useHighStock ? 'stockChart' : 'chart'}
containerProps={{className: 'chartkit-graph'}}
ref={this.chartComponent}
onRender={this.needRenderCallback() && this.props.onRender}
onRender={this.needRenderCallback() ? this.props.onRender : undefined}
/>
);
}
Expand Down

0 comments on commit cf88842

Please sign in to comment.