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(() => {
|
setTimeout(() => {
|
||||||
this.setState({
|
this.setState({
|
||||||
keymapAlert: null
|
keymapAlert: null
|
||||||
})
|
})
|
||||||
}, 3000)
|
}, 2500)
|
||||||
}
|
}
|
||||||
|
|
||||||
render () {
|
render () {
|
||||||
@@ -84,7 +84,6 @@ class HotkeyTab extends React.Component {
|
|||||||
{keymapAlert.message}
|
{keymapAlert.message}
|
||||||
</p>
|
</p>
|
||||||
: null
|
: null
|
||||||
this.clearMessage()
|
|
||||||
let { config } = this.state
|
let { config } = this.state
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user