remove console.log
This commit is contained in:
parent
73fda8979d
commit
d5a692f0c6
@ -28,7 +28,6 @@ class Graph extends React.Component {
|
|||||||
componentDidUpdate(prevProps, _) {
|
componentDidUpdate(prevProps, _) {
|
||||||
//only recalculate the layout if graph has changed
|
//only recalculate the layout if graph has changed
|
||||||
if (prevProps.graphData !== this.props.graphData) {
|
if (prevProps.graphData !== this.props.graphData) {
|
||||||
console.log("updated component => error");
|
|
||||||
this.layoutGraph();
|
this.layoutGraph();
|
||||||
this.setState({step: 0}, () => {
|
this.setState({step: 0}, () => {
|
||||||
//first crop the animation
|
//first crop the animation
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user