Fix labels and clean up code

This commit is contained in:
Liv
2023-11-20 11:50:46 +01:00
committed by bl00dymarie
parent 9fbe99e23b
commit 583c9c032c
5 changed files with 19 additions and 29 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ const SymptomEditView = ({ date, onClose, symptom, symptomData }) => {
<Segment key={group.key} style={styles.segmentBorder}>
<AppText style={styles.title}>{group.title}</AppText>
<SelectTabGroup
activeButton={data[group.key]} //this is supposed to be a number
activeButton={data[group.key]}
buttons={group.options}
onSelect={(value) => onSelectTab(group, value)}
/>