diff --git a/src/components/client/index/sections/PlatformStatisticsSection/Statistics/Statistics.tsx b/src/components/client/index/sections/PlatformStatisticsSection/Statistics/Statistics.tsx index a8bf42c6b..cc473901e 100644 --- a/src/components/client/index/sections/PlatformStatisticsSection/Statistics/Statistics.tsx +++ b/src/components/client/index/sections/PlatformStatisticsSection/Statistics/Statistics.tsx @@ -25,7 +25,7 @@ export default function Statistics() { const donatedMoney = fromMoney(totalDonatedMoney?.total || 0) const unit = donatedMoney.toString().split('.')[0] - const fraction = donatedMoney.toString().split('.')[1] + const fraction = donatedMoney?.toFixed(2).toString().split('.')[1] const sections: { value?: number; message: string }[] = [ {