make the stat load duration longer
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 58s

This commit is contained in:
Lee 2024-04-18 03:00:30 +01:00
parent af72418772
commit 9df69068df

@ -13,7 +13,7 @@ export function Stat({ title, value, icon }: StatProps): ReactElement {
<div className="pr-2">{icon}</div> <div className="pr-2">{icon}</div>
<div className="pl-2"> <div className="pl-2">
<p>{title}</p> <p>{title}</p>
<CountUp start={0} end={value} duration={0.5} preserveValue className="text-primary" /> <CountUp start={0} end={value} duration={0.75} preserveValue className="text-primary" />
</div> </div>
</div> </div>
); );