aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Home.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Home.js b/src/Home.js
index 6b2e385..0cdad72 100644
--- a/src/Home.js
+++ b/src/Home.js
@@ -73,6 +73,7 @@ class Home extends Component {
componentWillUnmount() {
clearInterval(this.state.autoRefresh);
+ window.removeEventListener("mousemove", this.handeMouseMove);
}
async updateAges() {