diff --git a/src/StatisticBlock/View.jsx b/src/StatisticBlock/View.jsx index 239659b..a1f57b2 100644 --- a/src/StatisticBlock/View.jsx +++ b/src/StatisticBlock/View.jsx @@ -72,21 +72,19 @@ const View = ({ data, mode }) => { : {})} > - 0 - ? animation.duration - : 2 - : 0 - } - decimals={animation.decimals > 0 ? animation.decimals : 0} - prefix={animation.prefix || ''} - suffix={animation.suffix || ''} - > - {(props) => } - + {animation.enabled ? ( + 0 ? animation.duration : 2} + decimals={animation.decimals > 0 ? animation.decimals : 0} + prefix={animation.prefix || ''} + suffix={animation.suffix || ''} + > + {(props) => } + + ) : ( + item.value + )} {item.label}