From 5e54da8271c7fac5062f0aca9b10e7370fd4bae2 Mon Sep 17 00:00:00 2001
From: Mo Tarbin <mhed.t91@gmail.com>
Date: Mon, 1 Jul 2024 22:12:19 -0400
Subject: Update button re-enable timeout to 3 seconds, update thing history

---
 src/views/Chores/ChoreCard.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/views/Chores/ChoreCard.jsx')

diff --git a/src/views/Chores/ChoreCard.jsx b/src/views/Chores/ChoreCard.jsx
index 0b2a408..8efaf04 100644
--- a/src/views/Chores/ChoreCard.jsx
+++ b/src/views/Chores/ChoreCard.jsx
@@ -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) {
-- 
cgit 

