react-jsx-highcharts
Advanced tools
Comparing version 1.3.1 to 1.3.2
{ | ||
"name": "react-jsx-highcharts", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "Highcharts charts built using React components", | ||
@@ -5,0 +5,0 @@ "main": "dist/react-jsx-highcharts.min.js", |
@@ -73,4 +73,6 @@ import React, { Component } from 'react'; | ||
componentWillUnmount () { | ||
this.chart.destroy(); | ||
this.chart.__destroyed = true; | ||
if (this.chart) { // Fixes #14 | ||
this.chart.destroy(); | ||
this.chart.__destroyed = true; | ||
} | ||
} | ||
@@ -77,0 +79,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
535641
9711