fix: update onAction handler to accept extra data in ChoreCard component
This commit is contained in:
@@ -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)}
|
||||
|
||||
Reference in New Issue
Block a user