diff --git a/src/common/CheckList.tsx b/src/common/CheckList.tsx
index fc72636b..669b2a1d 100644
--- a/src/common/CheckList.tsx
+++ b/src/common/CheckList.tsx
@@ -21,7 +21,7 @@ interface CheckListProps {
className?: string;
onChange?: (checkedIds: number[]) => void;
showAddButton?: boolean;
- saveCount?: number;
+ saveCount?: (number | undefined)[];
}
const CheckList = ({
@@ -30,6 +30,7 @@ const CheckList = ({
className = '',
onChange,
showAddButton,
+ saveCount,
}: CheckListProps) => {
const location = useLocation();
const isMyToPage = location.pathname.startsWith('/mytodo/list');
@@ -266,7 +267,7 @@ const CheckList = ({
- {item.saveCount ?? 0}
+ {saveCount?.[idx] ?? 0}