From fc7c33ee5417fc4105c7f2abc75dbbb73a04eb35 Mon Sep 17 00:00:00 2001 From: "pramod.mahajan" Date: Thu, 9 Oct 2025 17:51:27 +0530 Subject: [PATCH] added right status variable name --- src/components/Dashboard/ExpenseStatus.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Dashboard/ExpenseStatus.jsx b/src/components/Dashboard/ExpenseStatus.jsx index c8f64ef6..3076c0c4 100644 --- a/src/components/Dashboard/ExpenseStatus.jsx +++ b/src/components/Dashboard/ExpenseStatus.jsx @@ -71,8 +71,8 @@ const ExpenseStatus = () => { }, { title: "Draft", - count: data?.submited?.count || 0, - amount: data?.submited?.totalAmount || 0, + count: data?.draft?.count || 0, + amount: data?.draft?.totalAmount || 0, icon: "bx bx-file-blank", iconColor: "text-info", status: EXPENSE_STATUS.daft,