Skip to content

Commit

Permalink
VKT(Frontpage): PublicEnrollmentAppointment fix back to homepage butt…
Browse files Browse the repository at this point in the history
…on [deploy]
  • Loading branch information
pkoivisto committed Dec 13, 2024
1 parent 3eab2fd commit 029be22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions frontend/packages/vkt/public/i18n/fi-FI/public.json
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@
},
"steps": {
"paymentSuccess": {
"backToHomePage": "Lopeta ja palaa etusivulle",
"description1": "Olet maksanut tutkintomaksun {{examFee}} €. Ilmoittautumisesi seuraavaan tutkintoon on vahvistettu:",
"description2": "Saat sähköpostitse vahvistuksen ja kuitin maksusta osoitteeseen {{email}}."
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ export const PaymentSuccess = ({
const { t } = usePublicTranslation({
keyPrefix: 'vkt.component.publicEnrollmentAppointment.steps.paymentSuccess',
});
const translateCommon = useCommonTranslation();
const { examEvent, email } = enrollment;

const dispatch = useAppDispatch();
Expand Down Expand Up @@ -82,9 +81,9 @@ export const PaymentSuccess = ({
className="align-self-start"
color="secondary"
variant="contained"
to={AppRoutes.PublicGoodAndSatisfactoryLevelLanding}
to={AppRoutes.PublicHomePage}
>
{translateCommon('backToHomePage')}
{t('backToHomePage')}
</CustomButtonLink>
</div>
);
Expand Down

0 comments on commit 029be22

Please sign in to comment.