From 6648cd3bf3b63b26aac79a4a738dd55151ee325f Mon Sep 17 00:00:00 2001 From: rockyeverlast Date: Wed, 10 Sep 2025 20:36:15 +0530 Subject: [PATCH] fixed newCustomerCount / Recruiter count in dash --- src/components/Charts/SemiDoughnutChart.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Charts/SemiDoughnutChart.tsx b/src/components/Charts/SemiDoughnutChart.tsx index 5d9be43..a1d17d2 100644 --- a/src/components/Charts/SemiDoughnutChart.tsx +++ b/src/components/Charts/SemiDoughnutChart.tsx @@ -17,13 +17,13 @@ const SemiDoughnutChart = ({ totalUser }: { totalUser: any }) => { const recruiterCount = dataSource.past24hourRecruiterCount ?? dataSource.totalRecruiterCount ?? - dataSource.newRecruiterCount ?? + dataSource.newRecuiterCount ?? 0; const customerCount = dataSource.past24hourCustomercount ?? dataSource.totalCustomerCount ?? - dataSource.newCustomercount ?? + dataSource.newCustomerCount ?? 0;