1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

fix(NoteList): remove router

This commit is contained in:
Georges Indrianjafy
2018-01-30 10:37:58 +02:00
parent 4cb7e63421
commit 184839423f

View File

@@ -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)