diff --git a/src/dashboard/dashboard.js b/src/dashboard/dashboard.js index fb00237..489f366 100644 --- a/src/dashboard/dashboard.js +++ b/src/dashboard/dashboard.js @@ -310,13 +310,12 @@ class Dashboard extends Component { startEditing(){ this.state.widgets.forEach( widget => { if(widget.type === 'Slider' || widget.type === 'NumberInput' || widget.type === 'Button'){ - console.log("we should move in here"); - AppDispatcher.dispatch({ - type: 'widgets/start-edit', - token: this.state.sessionToken, - data: widget - }); - } + AppDispatcher.dispatch({ + type: 'widgets/start-edit', + token: this.state.sessionToken, + data: widget + }); + } }); this.setState({ editing: true }); };