Skip to content

Commit

Permalink
fix webpack mix require and export
Browse files Browse the repository at this point in the history
  • Loading branch information
Nguyen Son Ngoc authored and sonnn committed Oct 26, 2018
1 parent b8d8d9a commit 4b12a64
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/HighchartsReact.js
@@ -1,6 +1,6 @@
import React from "react";

class HighchartsReact extends React.PureComponent {
export default class HighchartsReact extends React.PureComponent {
constructor(props) {
super(props);
this.container = React.createRef();
Expand Down Expand Up @@ -39,5 +39,3 @@ class HighchartsReact extends React.PureComponent {
return React.createElement("div", { ref: this.container });
}
}

module.exports = HighchartsReact;

0 comments on commit 4b12a64

Please sign in to comment.