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); } }