Skip to content

Commit 94d9314

Browse files
committed
fix(schema): update usage for country.initiative.categories
1 parent 4b63007 commit 94d9314

File tree

1 file changed

+1
-2
lines changed
  • app/src/views/CountryNsOverviewActivities/NationalSocietyDevelopmentInitiatives/InitiativeCard

1 file changed

+1
-2
lines changed

app/src/views/CountryNsOverviewActivities/NationalSocietyDevelopmentInitiatives/InitiativeCard/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ function InitiativeCard(props: Props) {
2525
} = props;
2626

2727
const strings = useTranslation(i18n);
28-
const categories = initiative.categories?.join(', ');
2928

3029
return (
3130
<Container
@@ -44,7 +43,7 @@ function InitiativeCard(props: Props) {
4443
footerContent={(
4544
<TextOutput
4645
label={strings.initiativeCategoriesTitle}
47-
value={categories}
46+
value={initiative.categories}
4847
valueType="text"
4948
strongValue
5049
withoutLabelColon

0 commit comments

Comments
 (0)