fix: disabling the secondary symptom toggle when not both categories are enabled, didn't work before after new save
This commit is contained in:
1 parent
8a8b3217fa
commit
82803bbb83
1 file changed
+2
@@ -147,9 +147,11 @@ const Settings = () => {
|
||||
: labels.periodPrediction.off
|
||||
|
||||
const onCervixToggle = (value) => {
|
||||
if (isMucusTrackingCategoryEnabled && isCervixTrackingCategoryEnabled) {
|
||||
setShouldUseCervix(value)
|
||||
saveUseCervix(value)
|
||||
}
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
if (
|
||||
|
||||
Reference in new issue
Block a user