diff --git a/Makefile b/Makefile index e663d6c5..15d8ae0f 100644 --- a/Makefile +++ b/Makefile @@ -204,4 +204,3 @@ test: generate-ssl-keys: openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365 - \ No newline at end of file diff --git a/src/config/clients/lff.tsx b/src/config/clients/lff.tsx index 2a00328c..02dedb6b 100644 --- a/src/config/clients/lff.tsx +++ b/src/config/clients/lff.tsx @@ -19,7 +19,7 @@ export const lff: ClientConfig = { disabledHighlights: true, disabledPreferences: true, name: ClientNames.Lff, - privacyLink: '/clients/instat/terms-and-conditions.html', + privacyLink: '/privacy-policy-and-statement', showSearch: true, styles: { background: 'background-image: url(/images/Checker.png);', diff --git a/src/features/AuthServiceApp/components/ConfirmPopup/index.tsx b/src/features/AuthServiceApp/components/ConfirmPopup/index.tsx index 4aae7ef3..1eb79dfb 100644 --- a/src/features/AuthServiceApp/components/ConfirmPopup/index.tsx +++ b/src/features/AuthServiceApp/components/ConfirmPopup/index.tsx @@ -1,7 +1,6 @@ import { T9n } from 'features/T9n' -import { client } from 'features/AuthServiceApp/config/clients' - +import { client } from 'config/clients' import { AUTH_SERVICE } from 'config/routes' import { diff --git a/src/features/UserAccount/components/PersonalInfoForm/index.tsx b/src/features/UserAccount/components/PersonalInfoForm/index.tsx index cede3ac4..d3dd78ee 100644 --- a/src/features/UserAccount/components/PersonalInfoForm/index.tsx +++ b/src/features/UserAccount/components/PersonalInfoForm/index.tsx @@ -1,9 +1,6 @@ -import { useMemo } from 'react' - import { client } from 'config/clients' import { formIds } from 'config/form' import { AUTH_SERVICE } from 'config/routes' -import { ClientNames } from 'config/clients/types' import { Combobox } from 'features/Combobox' import { Input } from 'features/Common' @@ -47,15 +44,6 @@ export const PersonalInfoForm = (props: Props) => { updateFormValue, } = useUserInfo(props) - const isPrivacyPolicyShown = useMemo(() => { - switch (client.name) { - case ClientNames.Facr: - return false - default: - return true - } - }, []) - return (
{ > - {isPrivacyPolicyShown && ( - - - - )} + + + )