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

fix: no need semicolon

This commit is contained in:
voidsatisfaction
2018-06-20 21:57:11 +09:00
parent a2ddb56540
commit bdd5b7b3a7

View File

@@ -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)