Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions browser/main/Detail/MarkdownNoteDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import striptags from 'striptags'

const electron = require('electron')
const { remote } = electron
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remote and electron are unnecessary.

const { dialog } = remote

class MarkdownNoteDetail extends React.Component {
constructor (props) {
Expand Down Expand Up @@ -203,9 +202,11 @@ class MarkdownNoteDetail extends React.Component {
}, () => {
this.save()
})

ee.emit('list:next')
}
}
ee.emit('list:next')

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove this blank line.

}

handleUndoButtonClick (e) {
Expand Down
3 changes: 2 additions & 1 deletion browser/main/Detail/SnippetNoteDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,10 @@ class SnippetNoteDetail extends React.Component {
}, () => {
this.save()
})

ee.emit('list:next')
}
}
ee.emit('list:next')
}

handleUndoButtonClick (e) {
Expand Down