Fix labels and clean up code

This commit is contained in:
Liv
2023-11-20 11:50:46 +01:00
parent 503ce6e82d
commit 3b797b8500
5 changed files with 19 additions and 29 deletions
+1 -1
View File
@@ -134,7 +134,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)}
/>