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] })