We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e241b28 commit eb15c91Copy full SHA for eb15c91
README.md
@@ -106,14 +106,15 @@ constructor() {
106
this.state = {
107
data: undefined,
108
};
109
-
110
- componentWillMount() {
111
- treeUtil.parseCSV(csvSource)
112
- .then((data) => {
113
- this.setState({ data })
114
- })
115
- .catch((err) => console.error(err));
116
- }
+}
+
+componentWillMount() {
+ treeUtil.parseCSV(csvSource)
+ .then((data) => {
+ this.setState({ data })
+ })
+ .catch((err) => console.error(err));
117
118
119
class MyComponent extends Component {
120
render() {
0 commit comments