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

remove console.logs & improve error handling

This commit is contained in:
AWolf81
2019-05-26 09:57:40 +02:00
parent 02576c48b6
commit 1a38771f1a
3 changed files with 5 additions and 3 deletions

View File

@@ -194,7 +194,6 @@ class MarkdownEditor extends React.Component {
}
reload () {
console.log('reloading editor...')
this.refs.code.reload()
this.cancelQueue()
this.renderPreview(this.props.value)
@@ -278,7 +277,7 @@ class MarkdownEditor extends React.Component {
if (this.props.ignorePreviewPointerEvents) previewStyle.pointerEvents = 'none'
const storage = findStorage(storageKey)
console.log('render editor', config)
return (
<div className={className == null
? 'MarkdownEditor'