From 525ab900bd7d4ae91020428792555890e229edca Mon Sep 17 00:00:00 2001 From: asmsuechan Date: Sat, 18 Mar 2017 23:44:43 -0700 Subject: [PATCH] Fix == to === --- browser/main/NoteList/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/main/NoteList/index.js b/browser/main/NoteList/index.js index 7bb3d4e5..b3267d05 100644 --- a/browser/main/NoteList/index.js +++ b/browser/main/NoteList/index.js @@ -333,7 +333,7 @@ class NoteList extends React.Component { } jumpToTop() { - if (this.notes == null || this.notes.length === 0) { + if (this.notes === null || this.notes.length === 0) { return } let { router } = this.context