Skip to content

Commit

Permalink
fix: Fix typo in chartDestroy
Browse files Browse the repository at this point in the history
  • Loading branch information
apertureless committed Apr 13, 2022
1 parent ec82a9a commit 0907322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion legacy/src/Charts.js
Expand Up @@ -123,7 +123,7 @@ export function generateChart(chartId, chartType, chartController) {
this.$emit(ChartEmits.ChartUpdated)
} else {
if (_chartRef?.current !== null) {
chartDestroy(_chartRef.currentt)
chartDestroy(_chartRef.current)
this.$emit(ChartEmits.ChartDestroyed)
}

Expand Down

0 comments on commit 0907322

Please sign in to comment.