From 34a335797c8055b8acdcc55f471fad594072a689 Mon Sep 17 00:00:00 2001 From: Georges Indrianjafy Date: Tue, 30 Jan 2018 11:49:39 +0200 Subject: [PATCH] chore: remove trailing space --- browser/main/NoteList/index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/browser/main/NoteList/index.js b/browser/main/NoteList/index.js index bd7cf5b5..3e15ecc8 100644 --- a/browser/main/NoteList/index.js +++ b/browser/main/NoteList/index.js @@ -567,14 +567,11 @@ class NoteList extends React.Component { content: firstNote.content }) .then((note) => { - + const uniqueKey = note.storage + '-' + note.key dispatch({ type: 'UPDATE_NOTE', note: note }) - - const uniqueKey = note.storage + '-' + note.key - this.setState({ selectedNoteKeys: [uniqueKey] })