Skip to content

Commit 9530054

Browse files
shmolfRokt33r
authored andcommitted
Delete Dialog: typo for the "type" property
1 parent 489fc65 commit 9530054

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

browser/lib/confirmDeleteNote.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const { dialog } = remote
66
export function confirmDeleteNote (confirmDeletion, permanent) {
77
if (confirmDeletion || permanent) {
88
const alertConfig = {
9-
ype: 'warning',
9+
type: 'warning',
1010
message: i18n.__('Confirm note deletion'),
1111
detail: i18n.__('This will permanently remove this note.'),
1212
buttons: [i18n.__('Confirm'), i18n.__('Cancel')]

browser/main/SideNav/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class SideNav extends React.Component {
5757

5858
deleteTag (tag) {
5959
const selectedButton = remote.dialog.showMessageBox(remote.getCurrentWindow(), {
60-
ype: 'warning',
60+
type: 'warning',
6161
message: i18n.__('Confirm tag deletion'),
6262
detail: i18n.__('This will permanently remove this tag.'),
6363
buttons: [i18n.__('Confirm'), i18n.__('Cancel')]

0 commit comments

Comments
 (0)