Rename labels to more neutral 'secondarySymptom'

This commit is contained in:
bl00dymarie
2024-02-19 18:01:57 +01:00
parent 63bc8a1daf
commit dc304afe75
3 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ export default function SelectTabGroup({ activeButton, buttons, onSelect }) {
const oneTimeTransformIntoNumber =
typeof activeButton === 'boolean' && Number(activeButton)
const isSecondarySymptomSwitch =
buttons[0]['label'] === labels.useCervixAsSecondarySymptom.mucus
buttons[0]['label'] === labels.secondarySymptom.mucus
return (
<View style={styles.container}>
{buttons.map(({ label, value }, i) => {