diff options
author | Mo Tarbin <mhed.t91@gmail.com> | 2024-07-14 17:45:19 -0400 |
---|---|---|
committer | Mo Tarbin <mhed.t91@gmail.com> | 2024-07-14 17:45:19 -0400 |
commit | bc741d920ad1babf355ea95c78d65bb1cc143d0b (patch) | |
tree | f020a743c8a7704d84017bbf444bb7008adf95c3 /src | |
parent | ba3331efe8f51cb1a0029e20bbfd7060312b810e (diff) | |
download | donetick-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.jsx | 2 |
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> |