mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
remove console.log
This commit is contained in:
@@ -642,7 +642,6 @@ export default class CodeEditor extends React.Component {
|
|||||||
try {
|
try {
|
||||||
Jsonlint.parse(customMarkdownLintConfig)
|
Jsonlint.parse(customMarkdownLintConfig)
|
||||||
lintConfigJson = JSON.parse(customMarkdownLintConfig)
|
lintConfigJson = JSON.parse(customMarkdownLintConfig)
|
||||||
console.log(customMarkdownLintConfig, lintConfigJson)
|
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
eventEmitter.emit('APP_SETTING_ERROR')
|
eventEmitter.emit('APP_SETTING_ERROR')
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -40,7 +40,6 @@ class UiTab extends React.Component {
|
|||||||
}})
|
}})
|
||||||
}
|
}
|
||||||
this.handleSettingError = (err) => {
|
this.handleSettingError = (err) => {
|
||||||
console.log('handle err', err)
|
|
||||||
this.setState({UiAlert: {
|
this.setState({UiAlert: {
|
||||||
type: 'error',
|
type: 'error',
|
||||||
message: err.message != null ? err.message : i18n.__('An error occurred!')
|
message: err.message != null ? err.message : i18n.__('An error occurred!')
|
||||||
|
|||||||
Reference in New Issue
Block a user