From 9a9bda850c7bbef19e8b70f8d67b2ec04294b68d Mon Sep 17 00:00:00 2001 From: Pyry Koivisto Date: Fri, 1 Dec 2023 16:43:18 +0200 Subject: [PATCH] YKI(Frontend): Remove parameter to redirect to new UI [deploy] --- .../registration/identification/SuomiFiIdentification.tsx | 2 +- frontend/packages/yki/src/redux/sagas/evaluationOrder.ts | 1 - frontend/packages/yki/src/redux/sagas/publicIdentification.ts | 1 - frontend/packages/yki/src/redux/sagas/registration.ts | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/frontend/packages/yki/src/components/registration/identification/SuomiFiIdentification.tsx b/frontend/packages/yki/src/components/registration/identification/SuomiFiIdentification.tsx index 08eacb2b0..0db4cad07 100644 --- a/frontend/packages/yki/src/components/registration/identification/SuomiFiIdentification.tsx +++ b/frontend/packages/yki/src/components/registration/identification/SuomiFiIdentification.tsx @@ -28,7 +28,7 @@ export const SuomiFiIdentification = () => { size="large" variant={Variant.Contained} color={Color.Secondary} - href={`${APIEndpoints.SuomiFiAuthRedirect}?examSessionId=${examSession.id}&use-yki-ui=true`} + href={`${APIEndpoints.SuomiFiAuthRedirect}?examSessionId=${examSession.id}`} > {t('suomiFiButtonText')} diff --git a/frontend/packages/yki/src/redux/sagas/evaluationOrder.ts b/frontend/packages/yki/src/redux/sagas/evaluationOrder.ts index 8421cdaa6..2e0a272ab 100644 --- a/frontend/packages/yki/src/redux/sagas/evaluationOrder.ts +++ b/frontend/packages/yki/src/redux/sagas/evaluationOrder.ts @@ -41,7 +41,6 @@ function* submitEvaluationOrderSaga() { { params: { lang: SerializationUtils.serializeAppLanguage(lang), - 'use-yki-ui': true, }, } ); diff --git a/frontend/packages/yki/src/redux/sagas/publicIdentification.ts b/frontend/packages/yki/src/redux/sagas/publicIdentification.ts index 79e85e84c..55d58d4aa 100644 --- a/frontend/packages/yki/src/redux/sagas/publicIdentification.ts +++ b/frontend/packages/yki/src/redux/sagas/publicIdentification.ts @@ -24,7 +24,6 @@ function* sendEmailLinkOrderSaga(action: PayloadAction) { { params: { lang: SerializationUtils.serializeAppLanguage(lang), - 'use-yki-ui': true, }, } ); diff --git a/frontend/packages/yki/src/redux/sagas/registration.ts b/frontend/packages/yki/src/redux/sagas/registration.ts index ea67393c1..4787206cc 100644 --- a/frontend/packages/yki/src/redux/sagas/registration.ts +++ b/frontend/packages/yki/src/redux/sagas/registration.ts @@ -76,7 +76,6 @@ function* submitRegistrationFormSaga() { { params: { lang: SerializationUtils.serializeAppLanguage(lang), - 'use-yki-ui': true, }, } );