mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
correction
This commit is contained in:
@@ -69,12 +69,12 @@ class HotkeyTab extends React.Component {
|
||||
})
|
||||
}
|
||||
|
||||
clearMessage() {
|
||||
componentDidUpdate() {
|
||||
setTimeout(() => {
|
||||
this.setState({
|
||||
keymapAlert: null
|
||||
})
|
||||
}, 3000)
|
||||
}, 2500)
|
||||
}
|
||||
|
||||
render () {
|
||||
@@ -84,7 +84,6 @@ class HotkeyTab extends React.Component {
|
||||
{keymapAlert.message}
|
||||
</p>
|
||||
: null
|
||||
this.clearMessage()
|
||||
let { config } = this.state
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user