From dd84df3153dcd60410cccd548fa7bc3e05658a15 Mon Sep 17 00:00:00 2001 From: ntr Date: Thu, 30 May 2019 20:36:13 +1000 Subject: [PATCH] willunmount --- client/src/utils.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/utils.jsx b/client/src/utils.jsx index bb57e8e7..825899a7 100644 --- a/client/src/utils.jsx +++ b/client/src/utils.jsx @@ -95,7 +95,7 @@ class ConstructAvatar extends Component { animateConstruct(this.props.id); } - componentDidUnmount() { + componentWillUnmount() { clearAnimation(this.props.id); } }