mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
Fix: Changed variable name
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user