diff --git a/browser/main/NoteList/index.js b/browser/main/NoteList/index.js index 1ca82d4e..833c276c 100644 --- a/browser/main/NoteList/index.js +++ b/browser/main/NoteList/index.js @@ -184,7 +184,7 @@ class NoteList extends React.Component { jumpNoteByHashHandler (event, noteHash) { // first argument event isn't used. - if (this.notes == null || this.notes.length === 0) { + if (this.notes === null || this.notes.length === 0) { return }