mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 15:37:45 +00:00
apply requested change
This commit is contained in:
parent
fffd0017d8
commit
f69c91cb36
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user