1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Correction build error

This commit is contained in:
Paul Rosset
2017-10-24 23:40:15 +01:00
parent bd013adb4d
commit d23156d11a

View File

@@ -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