Fix double action on keymap after a reload (#3006)

Fixes #3004
This commit is contained in:
CHaBou 2018-05-12 15:39:51 +02:00 committed by GitHub
parent a14c55640c
commit 0199c44915
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,6 +97,7 @@ class Hyper extends React.PureComponent {
componentWillUnmount() {
document.body.style.backgroundColor = 'inherit';
this.mousetrap && this.mousetrap.reset();
}
render() {