From 70a97a6a2ab132a53dd9060a5cd5fd28137d14f4 Mon Sep 17 00:00:00 2001 From: asmsuechan Date: Thu, 16 Mar 2017 13:30:24 -0700 Subject: [PATCH] Fix a typo --- browser/main/NoteList/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/browser/main/NoteList/index.js b/browser/main/NoteList/index.js index 82c0bbc3..579dbe0b 100644 --- a/browser/main/NoteList/index.js +++ b/browser/main/NoteList/index.js @@ -38,7 +38,7 @@ class NoteList extends React.Component { this.focusHandler = () => { this.refs.list.focus() } - this.alertIfSnippetHnalder = () => { + this.alertIfSnippetHandler = () => { this.alertIfSnippet() } @@ -51,7 +51,7 @@ class NoteList extends React.Component { ee.on('list:next', this.selectNextNoteHandler) ee.on('list:prior', this.selectPriorNoteHandler) ee.on('list:focus', this.focusHandler) - ee.on('list:isMarkdownNote', this.alertIfSnippetHnalder) + ee.on('list:isMarkdownNote', this.alertIfSnippetHandler) } componentWillReceiveProps (nextProps) { @@ -70,7 +70,7 @@ class NoteList extends React.Component { ee.off('list:next', this.selectNextNoteHandler) ee.off('list:prior', this.selectPriorNoteHandler) ee.off('list:focus', this.focusHandler) - ee.off('list:isMarkdownNote', this.alertIfSnippetHnalder) + ee.off('list:isMarkdownNote', this.alertIfSnippetHandler) } componentDidUpdate (prevProps) {