mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
Fix failed build lint error
This commit is contained in:
@@ -61,7 +61,7 @@ class UiTab extends React.Component {
|
|||||||
const newCodemirrorTheme = this.refs.editorTheme.value
|
const newCodemirrorTheme = this.refs.editorTheme.value
|
||||||
|
|
||||||
if (newCodemirrorTheme !== codemirrorTheme) {
|
if (newCodemirrorTheme !== codemirrorTheme) {
|
||||||
checkHighLight.setAttribute('href', `../node_modules/codemirror/theme/${newCodemirrorTheme.split(" ")[0]}.css`)
|
checkHighLight.setAttribute('href', `../node_modules/codemirror/theme/${newCodemirrorTheme.split(' ')[0]}.css`)
|
||||||
}
|
}
|
||||||
|
|
||||||
this.setState({ config: newConfig, codemirrorTheme: newCodemirrorTheme })
|
this.setState({ config: newConfig, codemirrorTheme: newCodemirrorTheme })
|
||||||
|
|||||||
Reference in New Issue
Block a user