mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
fix(NoteList): remove router
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user