From bdd5b7b3a7bb9324f66daaaa413c44d4ee5492d6 Mon Sep 17 00:00:00 2001 From: voidsatisfaction Date: Wed, 20 Jun 2018 21:57:11 +0900 Subject: [PATCH] fix: no need semicolon --- browser/main/Detail/MarkdownNoteDetail.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/main/Detail/MarkdownNoteDetail.js b/browser/main/Detail/MarkdownNoteDetail.js index b0be06b0..82073162 100755 --- a/browser/main/Detail/MarkdownNoteDetail.js +++ b/browser/main/Detail/MarkdownNoteDetail.js @@ -277,7 +277,7 @@ class MarkdownNoteDetail extends React.Component { handleSwitchMode (type) { this.setState({ editorType: type }, () => { - this.focus(); + this.focus() const newConfig = Object.assign({}, this.props.config) newConfig.editor.type = type ConfigManager.set(newConfig)