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

refactor: by ESLint

This commit is contained in:
sota1235
2017-03-13 18:40:12 +09:00
parent 93b15f2a7a
commit 6fcbca6b10
8 changed files with 9 additions and 11 deletions

View File

@@ -310,7 +310,7 @@ class NoteList extends React.Component {
})
}
alertIfSnippet() {
alertIfSnippet () {
let { location } = this.props
const targetIndex = _.findIndex(this.notes, (note) => {
return `${note.storage}-${note.key}` === location.query.key