From 184839423f19a5670f1429db63be7ecc7ab510b5 Mon Sep 17 00:00:00 2001 From: Georges Indrianjafy Date: Tue, 30 Jan 2018 10:37:58 +0200 Subject: [PATCH] fix(NoteList): remove router --- browser/main/NoteList/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/browser/main/NoteList/index.js b/browser/main/NoteList/index.js index 4ac50991..5c172e0b 100644 --- a/browser/main/NoteList/index.js +++ b/browser/main/NoteList/index.js @@ -551,7 +551,6 @@ class NoteList extends React.Component { cloneNote () { const { selectedNoteKeys } = this.state const { dispatch, location } = this.props - const { router } = this.context const { storage, folder } = this.resolveTargetFolder() const notes = this.notes.map((note) => Object.assign({}, note)) const selectedNotes = findNotesByKeys(notes, selectedNoteKeys)