apply requested change

This commit is contained in:
zokutyou2@gmail.com 2021-06-14 09:21:55 +09:00
parent fffd0017d8
commit f69c91cb36

View File

@ -15,7 +15,7 @@ class ProxyAppMain extends Component {
window.addEventListener('keydown', this.props.onKeyDown); window.addEventListener('keydown', this.props.onKeyDown);
} }
UNSAFE_componentWillUnmount() { componentWillUnmount() {
window.removeEventListener('keydown', this.props.onKeyDown); window.removeEventListener('keydown', this.props.onKeyDown);
} }