From d8fad76cbe8f6f6bd3b08c7656a87a90e4318763 Mon Sep 17 00:00:00 2001 From: Henry Catalini Smith Date: Fri, 27 Dec 2024 21:39:17 +0100 Subject: [PATCH] Fix a process.env reference I missed previously --- src/features/surveys/components/surveyForm/SurveyFooter.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/features/surveys/components/surveyForm/SurveyFooter.tsx b/src/features/surveys/components/surveyForm/SurveyFooter.tsx index 70f5acad9..413c7b54c 100644 --- a/src/features/surveys/components/surveyForm/SurveyFooter.tsx +++ b/src/features/surveys/components/surveyForm/SurveyFooter.tsx @@ -26,8 +26,8 @@ const SurveyFooter: FC = () => { : messages.surveyForm.policy.link(), text: messages.surveyFooter.links.privacy(), }, - ...(typeof process.env.INSTANCE_OWNER_NAME === 'string' && - typeof process.env.INSTANCE_OWNER_HREF === 'string' + ...(typeof env.vars.INSTANCE_OWNER_NAME === 'string' && + typeof env.vars.INSTANCE_OWNER_HREF === 'string' ? [ { href: env.vars.INSTANCE_OWNER_HREF as string,