mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-15 10:46:32 +00:00
Update HotkeyTab.js to satisfy CI
This commit is contained in:
committed by
jacobherrington
parent
025e778252
commit
9dfc6c2bc1
@@ -39,13 +39,9 @@ class HotkeyTab extends React.Component {
|
|||||||
} else {
|
} else {
|
||||||
this.setState({keymapAlert: {
|
this.setState({keymapAlert: {
|
||||||
type: 'error',
|
type: 'error',
|
||||||
message: err.message != null ? err.message : i18n.__('Error occurs!')
|
message: err.message != null ? err.message : i18n.__('An error occurred!')
|
||||||
}})
|
}})
|
||||||
}}
|
}
|
||||||
this.setState({keymapAlert: {
|
|
||||||
type: 'error',
|
|
||||||
message: err.message != null ? err.message : i18n.__('An error occurred!')
|
|
||||||
}})
|
|
||||||
}
|
}
|
||||||
this.oldHotkey = this.state.config.hotkey
|
this.oldHotkey = this.state.config.hotkey
|
||||||
ipc.addListener('APP_SETTING_DONE', this.handleSettingDone)
|
ipc.addListener('APP_SETTING_DONE', this.handleSettingDone)
|
||||||
|
|||||||
Reference in New Issue
Block a user