Skip to content

Commit

Permalink
Delete Dialog: typo for the "type" property
Browse files Browse the repository at this point in the history
  • Loading branch information
shmolf authored and Rokt33r committed Nov 21, 2019
1 parent 489fc65 commit 9530054
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion browser/lib/confirmDeleteNote.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const { dialog } = remote
export function confirmDeleteNote (confirmDeletion, permanent) {
if (confirmDeletion || permanent) {
const alertConfig = {
ype: 'warning',
type: 'warning',
message: i18n.__('Confirm note deletion'),
detail: i18n.__('This will permanently remove this note.'),
buttons: [i18n.__('Confirm'), i18n.__('Cancel')]
Expand Down
2 changes: 1 addition & 1 deletion browser/main/SideNav/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class SideNav extends React.Component {

deleteTag (tag) {
const selectedButton = remote.dialog.showMessageBox(remote.getCurrentWindow(), {
ype: 'warning',
type: 'warning',
message: i18n.__('Confirm tag deletion'),
detail: i18n.__('This will permanently remove this tag.'),
buttons: [i18n.__('Confirm'), i18n.__('Cancel')]
Expand Down

0 comments on commit 9530054

Please sign in to comment.