1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

fixed review comments

This commit is contained in:
Maurits Lourens
2018-01-03 23:08:42 +01:00
parent e262d2f19b
commit 9f9463f0e8
2 changed files with 5 additions and 3 deletions

View File

@@ -28,7 +28,6 @@ import striptags from 'striptags'
const electron = require('electron') const electron = require('electron')
const { remote } = electron const { remote } = electron
const { dialog } = remote
class MarkdownNoteDetail extends React.Component { class MarkdownNoteDetail extends React.Component {
constructor (props) { constructor (props) {
@@ -203,9 +202,11 @@ class MarkdownNoteDetail extends React.Component {
}, () => { }, () => {
this.save() this.save()
}) })
ee.emit('list:next')
} }
} }
ee.emit('list:next')
} }
handleUndoButtonClick (e) { handleUndoButtonClick (e) {

View File

@@ -202,9 +202,10 @@ class SnippetNoteDetail extends React.Component {
}, () => { }, () => {
this.save() this.save()
}) })
ee.emit('list:next')
} }
} }
ee.emit('list:next')
} }
handleUndoButtonClick (e) { handleUndoButtonClick (e) {