From 93b27ad90747de0620e5dc469cbce1eba054d41d Mon Sep 17 00:00:00 2001 From: Maxim Lam Date: Thu, 12 Dec 2024 10:32:57 -0500 Subject: [PATCH] Api translation added --- components/ResultsPage/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/ResultsPage/index.tsx b/components/ResultsPage/index.tsx index 81105bc3..b80c993c 100644 --- a/components/ResultsPage/index.tsx +++ b/components/ResultsPage/index.tsx @@ -20,7 +20,6 @@ import { useTranslation } from '../Hooks' import { BenefitCards } from './BenefitCards' import { YourAnswers } from './YourAnswers' import { Translations, getTranslations } from '../../i18n/api' -import { FieldKey } from '../../utils/api/definitions/fields' import { SummaryEstimates } from './SummaryEstimates' import { Intro } from './Intro' @@ -49,7 +48,7 @@ const ResultsPage: React.VFC<{ const ref = useRef() const tsln = useTranslation() const router = useRouter() - + const apiTsln = getTranslations(tsln._language) const isPartnered = inputs.find((input) => input.key === FieldKey.MARITAL_STATUS)['value'] ===