From c7fbb6d702f93b9b587a096739ef34fea2fe50fa Mon Sep 17 00:00:00 2001 From: Aman Singh Date: Thu, 8 Dec 2022 15:01:25 +0530 Subject: [PATCH] Update src/components/screens/allCases/AllCases.tsx Co-authored-by: Herik Hiteshkumar Modi --- src/components/screens/allCases/AllCases.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/screens/allCases/AllCases.tsx b/src/components/screens/allCases/AllCases.tsx index 36274b60..52794053 100644 --- a/src/components/screens/allCases/AllCases.tsx +++ b/src/components/screens/allCases/AllCases.tsx @@ -74,7 +74,7 @@ const CardItem: React.FC = props => { const Item = (props: IItem) => { const propData = props.data.item; const todoList = props.todoList; - let compleatdCount = 0; + let completedCount = 0; todoList.forEach(todo => todo.caseStatus === 'compleated' ? compleatdCount++ : compleatdCount, );