Commit cedfba9c authored by Matej Genci's avatar Matej Genci

Refactor initial state assignment

parent ca9d20b7
...@@ -16,18 +16,9 @@ class App extends React.Component { ...@@ -16,18 +16,9 @@ class App extends React.Component {
super(props) super(props)
this.state = { this.state = {
wacc: { wacc: {code: "", markers: [],},
code: "", js: {code: "", markers: [],},
markers: [], arm: {code: "", markers: [],},
},
js: {
code: "",
markers: [],
},
arm: {
code: "",
markers: [],
},
graphData: [{}], graphData: [{}],
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment