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/ChoreEdit/ThingTriggerSection.jsx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'src/views/ChoreEdit/ThingTriggerSection.jsx')

diff --git a/src/views/ChoreEdit/ThingTriggerSection.jsx b/src/views/ChoreEdit/ThingTriggerSection.jsx
index 7a040ad..981f84b 100644
--- a/src/views/ChoreEdit/ThingTriggerSection.jsx
+++ b/src/views/ChoreEdit/ThingTriggerSection.jsx
@@ -6,7 +6,6 @@ import {
   Card,
   Chip,
   FormControl,
-  FormLabel,
   Input,
   ListItem,
   ListItemContent,
@@ -91,7 +90,7 @@ const ThingTriggerSection = ({
       <Typography level='h5'>
         Trigger a task when a thing state changes to a desired state
       </Typography>
-      {things.length !== 0 && (
+      {things?.length === 0 && (
         <Typography level='body-sm'>
           it's look like you don't have any things yet, create a thing to
           trigger a task when the state changes.
-- 
cgit 

