1
0
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:
Sam Herrington
2018-09-30 09:24:24 -05:00
committed by jacobherrington
parent 025e778252
commit 9dfc6c2bc1

View File

@@ -37,16 +37,12 @@ class HotkeyTab extends React.Component {
message: i18n.__('Successfully applied!')
}})
} else {
this.setState({keymapAlert: {
type: 'error',
message: err.message != null ? err.message : i18n.__('Error occurs!')
}})
}}
this.setState({keymapAlert: {
type: 'error',
message: err.message != null ? err.message : i18n.__('An error occurred!')
}})
}
}
this.oldHotkey = this.state.config.hotkey
ipc.addListener('APP_SETTING_DONE', this.handleSettingDone)
ipc.addListener('APP_SETTING_ERROR', this.handleSettingError)