From f69c91cb36b2d10fd805d0a975fb8d81688290ac Mon Sep 17 00:00:00 2001 From: "zokutyou2@gmail.com" Date: Mon, 14 Jun 2021 09:21:55 +0900 Subject: [PATCH] apply requested change --- web/src/js/components/ProxyApp.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/js/components/ProxyApp.jsx b/web/src/js/components/ProxyApp.jsx index 8dc4c7e02..f6b138b33 100644 --- a/web/src/js/components/ProxyApp.jsx +++ b/web/src/js/components/ProxyApp.jsx @@ -15,7 +15,7 @@ class ProxyAppMain extends Component { window.addEventListener('keydown', this.props.onKeyDown); } - UNSAFE_componentWillUnmount() { + componentWillUnmount() { window.removeEventListener('keydown', this.props.onKeyDown); }