diff --git a/components/cycle-day/select-tab-group.js b/components/cycle-day/select-tab-group.js index 6805b66..f94601a 100644 --- a/components/cycle-day/select-tab-group.js +++ b/components/cycle-day/select-tab-group.js @@ -21,7 +21,10 @@ export default function SelectTabGroup({ // Disable is only used for secondarySymptom in customization, if more come up maybe consider more tidy solution const showDisabledAlert = (label) => { - if (label === 'cervix' || label === 'cervical mucus') { + if ( + label === labels.secondarySymptom.cervix || + label === labels.secondarySymptom.mucus + ) { Alert.alert( labels.secondarySymptom.disabled.title, labels.secondarySymptom.disabled.message