Generalize title of symptom labels

This commit is contained in:
bl00dymarie committed 2024-02-26 17:24:44 +01:00
1 parent 27776f93cc
commit 72823ef95c
2 files changed
+11 -13

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ const SymptomBox = ({
editedSymptom,
setEditedSymptom,
}) => {
const { t } = useTranslation(null, { keyPrefix: 'cycleDay.symptomBox' })
const { t } = useTranslation(null, { keyPrefix: 'symptoms' })
const isSymptomEdited = editedSymptom === symptom
const isSymptomDisabled = isDateInFuture(date) && symptom !== 'note'
const isExcluded = symptomData !== null ? symptomData.exclude : false