From d9e74727f8cf150486340f93e6fb446be22f3314 Mon Sep 17 00:00:00 2001 From: Gavriil Date: Fri, 20 Dec 2024 20:07:35 +0100 Subject: [PATCH] Fix questionnaires generation --- .../[recipient]/[survey]/questionnaires.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/website/src/app/[lang]/[region]/survey/[recipient]/[survey]/questionnaires.ts b/website/src/app/[lang]/[region]/survey/[recipient]/[survey]/questionnaires.ts index 3b58aa6eb..81175b674 100644 --- a/website/src/app/[lang]/[region]/survey/[recipient]/[survey]/questionnaires.ts +++ b/website/src/app/[lang]/[region]/survey/[recipient]/[survey]/questionnaires.ts @@ -44,10 +44,10 @@ export const onboardingQuestionnaire = (t: TranslateFunction, name: string) => [ livingLocationPage(t), maritalStatusPage(t), dependentsPage(t), - schoolAttendancePage, + schoolAttendancePage(t), employmentStatusPage(t), disabilityPage(t), - skippingMealsPage, + skippingMealsPage(t), unexpectedExpensesCoveredPage(t), savingsPage(t), debtPersonalPage(t), @@ -62,10 +62,10 @@ export const checkinQuestionnaire = (t: TranslateFunction, name: string) => [ livingLocationPage(t), maritalStatusPage(t), dependentsPage(t), - schoolAttendancePage, + schoolAttendancePage(t), employmentStatusPage(t), disabilityPage(t), - skippingMealsPage, + skippingMealsPage(t), unexpectedExpensesCoveredPage(t), savingsPage(t), debtPersonalPage(t), @@ -83,10 +83,10 @@ export const offboardingQuestionnaire = (t: TranslateFunction, name: string) => livingLocationPage(t), maritalStatusPage(t), dependentsPage(t), - schoolAttendancePage, + schoolAttendancePage(t), employmentStatusPage(t), disabilityPage(t), - skippingMealsPage, + skippingMealsPage(t), unexpectedExpensesCoveredPage(t), savingsPage(t), ]; @@ -98,10 +98,10 @@ export const offboardingCheckinQuestionnaire = (t: TranslateFunction, name: stri livingLocationPage(t), maritalStatusPage(t), dependentsPage(t), - schoolAttendancePage, + schoolAttendancePage(t), employmentStatusPage(t), disabilityPage(t), - skippingMealsPage, + skippingMealsPage(t), unexpectedExpensesCoveredPage(t), savingsPage(t), ];