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',
|
type: 'SET_UI',
|
||||||
config: newConfig
|
config: newConfig
|
||||||
})
|
})
|
||||||
|
|
||||||
|
setTimeout(() => {
|
||||||
|
this.setState({
|
||||||
|
keymapAlert: null
|
||||||
|
})
|
||||||
|
}, 2000)
|
||||||
}
|
}
|
||||||
|
|
||||||
handleHintToggleButtonClick (e) {
|
handleHintToggleButtonClick (e) {
|
||||||
@@ -69,14 +75,6 @@ class HotkeyTab extends React.Component {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
componentDidUpdate () {
|
|
||||||
setTimeout(() => {
|
|
||||||
this.setState({
|
|
||||||
keymapAlert: null
|
|
||||||
})
|
|
||||||
}, 2500)
|
|
||||||
}
|
|
||||||
|
|
||||||
render () {
|
render () {
|
||||||
let keymapAlert = this.state.keymapAlert
|
let keymapAlert = this.state.keymapAlert
|
||||||
let keymapAlertElement = keymapAlert != null
|
let keymapAlertElement = keymapAlert != null
|
||||||
|
|||||||
Reference in New Issue
Block a user