From 1123fb3ca6317dd104218eac2d7376976390811e Mon Sep 17 00:00:00 2001 From: Mo Tarbin Date: Tue, 2 Dec 2025 18:42:16 -0500 Subject: [PATCH] fix: update onAction handler to accept extra data in ChoreCard component --- src/views/Chores/ChoreCard.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/Chores/ChoreCard.jsx b/src/views/Chores/ChoreCard.jsx index bbe8757..3d30f76 100644 --- a/src/views/Chores/ChoreCard.jsx +++ b/src/views/Chores/ChoreCard.jsx @@ -995,7 +995,9 @@ const ChoreCard = ({ onCompleteWithPastDate={() => onAction('completeWithPastDate', chore) } - onAction={type => onAction(type, chore)} + onAction={(type, chore, extraData) => + onAction(type, chore, extraData) + } onChangeAssignee={() => onAction('changeAssignee', chore)} onChangeDueDate={() => onAction('changeDueDate', chore)} onWriteNFC={() => onAction('writeNFC', chore)}