diff --git a/source/components/ui/AnimatedTargetValue.js b/source/components/ui/AnimatedTargetValue.js index 0cdf27955..55a60514d 100644 --- a/source/components/ui/AnimatedTargetValue.js +++ b/source/components/ui/AnimatedTargetValue.js @@ -16,7 +16,10 @@ export default withLanguage( state = { difference: 0 } componentDidUpdate(prevProps) { - if (prevProps.value === this.props.value) { + if ( + prevProps.value === this.props.value || + Number.isNaN(this.props.value) + ) { return } this.setState({