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:
@@ -620,9 +620,9 @@ export default class CodeEditor extends React.Component {
|
|||||||
|
|
||||||
setCodeEditorLintConfig () {
|
setCodeEditorLintConfig () {
|
||||||
const { mode } = this.props
|
const { mode } = this.props
|
||||||
const checkMarkdownNoteIsOpening = mode === 'Boost Flavored Markdown'
|
const checkMarkdownNoteIsOpen = mode === 'Boost Flavored Markdown'
|
||||||
|
|
||||||
return checkMarkdownNoteIsOpening ? {
|
return checkMarkdownNoteIsOpen ? {
|
||||||
'getAnnotations': this.validatorOfMarkdown,
|
'getAnnotations': this.validatorOfMarkdown,
|
||||||
'async': true
|
'async': true
|
||||||
} : false
|
} : false
|
||||||
|
|||||||
Reference in New Issue
Block a user