import ReactHighcharts from 'react-highcharts';
import highchartsTreemap from 'highcharts-treemap';

let hasBeenInitialized = false;

// wrapper to make sure we only initialize the highcharts component once
function initHighcharts() {
  if (!hasBeenInitialized) {
    highchartsTreemap(ReactHighcharts.Highcharts);
    hasBeenInitialized = true;
  }
}

export default initHighcharts;

@@ -92,16 +92,80 @@
 reemap';
+%0Aimport highchartsExporting from 'highcharts/modules/exporting';
 %0A%0Alet ha
@@ -372,16 +372,69 @@
 harts);%0A
+    highchartsExporting(ReactHighcharts.Highcharts);%0A
     hasB

Add highcharts exporting back in #1328