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

Fix: Changed variable name

This commit is contained in:
roottool
2019-05-09 04:06:27 +09:00
parent 61e054024b
commit 69a62d1b73

View File

@@ -620,9 +620,9 @@ export default class CodeEditor extends React.Component {
setCodeEditorLintConfig () {
const { mode } = this.props
const checkMarkdownNoteIsOpening = mode === 'Boost Flavored Markdown'
const checkMarkdownNoteIsOpen = mode === 'Boost Flavored Markdown'
return checkMarkdownNoteIsOpening ? {
return checkMarkdownNoteIsOpen ? {
'getAnnotations': this.validatorOfMarkdown,
'async': true
} : false