Update button re-enable timeout to 3 seconds, update thing history
This commit is contained in:
@@ -125,7 +125,7 @@ const ChoreCard = ({ chore, performers, onChoreUpdate, onChoreRemove, sx }) => {
|
||||
}
|
||||
})
|
||||
setIsDisabled(true)
|
||||
setTimeout(() => setIsDisabled(false), 5000) // Re-enable the button after 5 seconds
|
||||
setTimeout(() => setIsDisabled(false), 3000) // Re-enable the button after 5 seconds
|
||||
}
|
||||
const handleChangeDueDate = newDate => {
|
||||
if (activeUserId === null) {
|
||||
|
||||
Reference in New Issue
Block a user