aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-07-14 17:45:19 -0400
committerLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-07-14 17:45:19 -0400
commitbc741d920ad1babf355ea95c78d65bb1cc143d0b (patch)
treef020a743c8a7704d84017bbf444bb7008adf95c3 /src
parentba3331efe8f51cb1a0029e20bbfd7060312b810e (diff)
downloaddonetick-frontend-bc741d920ad1babf355ea95c78d65bb1cc143d0b.tar.gz
donetick-frontend-bc741d920ad1babf355ea95c78d65bb1cc143d0b.tar.bz2
donetick-frontend-bc741d920ad1babf355ea95c78d65bb1cc143d0b.zip
Fix conditional rendering bug in RepeatSection component
Diffstat (limited to 'src')
-rw-r--r--src/views/ChoreEdit/RepeatSection.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/ChoreEdit/RepeatSection.jsx b/src/views/ChoreEdit/RepeatSection.jsx
index 99f196f..bdf6738 100644
--- a/src/views/ChoreEdit/RepeatSection.jsx
+++ b/src/views/ChoreEdit/RepeatSection.jsx
@@ -509,7 +509,7 @@ const RepeatSection = ({
}}
>
Is this something that should be done when a thing state changes?{' '}
- {!isPlusAccount(userProfile) && (
+ {userProfile && !isPlusAccount(userProfile) && (
<Chip variant='soft' color='warning'>
Not available in Basic Plan
</Chip>