From 95c735de9ba83d8a0e6850f0c8281ec573c705c6 Mon Sep 17 00:00:00 2001 From: Sonja Happ Date: Fri, 29 May 2020 13:27:04 +0200 Subject: [PATCH] remove a log comment, fix indentation --- src/dashboard/dashboard.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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 }); };