mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
Correction build error
This commit is contained in:
@@ -50,6 +50,12 @@ class HotkeyTab extends React.Component {
|
||||
type: 'SET_UI',
|
||||
config: newConfig
|
||||
})
|
||||
|
||||
setTimeout(() => {
|
||||
this.setState({
|
||||
keymapAlert: null
|
||||
})
|
||||
}, 2000)
|
||||
}
|
||||
|
||||
handleHintToggleButtonClick (e) {
|
||||
@@ -69,14 +75,6 @@ class HotkeyTab extends React.Component {
|
||||
})
|
||||
}
|
||||
|
||||
componentDidUpdate () {
|
||||
setTimeout(() => {
|
||||
this.setState({
|
||||
keymapAlert: null
|
||||
})
|
||||
}, 2500)
|
||||
}
|
||||
|
||||
render () {
|
||||
let keymapAlert = this.state.keymapAlert
|
||||
let keymapAlertElement = keymapAlert != null
|
||||
|
||||
Reference in New Issue
Block a user