From 820b3e8e06a42f97c14a70e28fcfdaab09ecaa45 Mon Sep 17 00:00:00 2001 From: Abdel LAMRANI Date: Fri, 21 Aug 2026 10:48:09 +0200 Subject: [PATCH] fix: :bug: eslint --- resources/ts/front/Components/NormsSection.tsx | 9 ++++----- resources/ts/front/Components/cookie/CookieNotice.tsx | 3 +-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/resources/ts/front/Components/NormsSection.tsx b/resources/ts/front/Components/NormsSection.tsx index fd8c685..53703ef 100644 --- a/resources/ts/front/Components/NormsSection.tsx +++ b/resources/ts/front/Components/NormsSection.tsx @@ -156,14 +156,14 @@ export default function NormsSection() { downloadUrl={documentUrl("cdc_duck.pdf")} /> - {appEnv.locale === 'de' && ( + {appEnv.locale === "de" && (

- {useTrans("norms.title_2")} + {GetTranslation("norms.title_2")}

- {useTrans("norms.subtitle_2")} + {GetTranslation("norms.subtitle_2")}

- {useTrans("norms.cta_label")} + {GetTranslation("norms.cta_label")}
)} - ); diff --git a/resources/ts/front/Components/cookie/CookieNotice.tsx b/resources/ts/front/Components/cookie/CookieNotice.tsx index 3d402df..e5573bd 100644 --- a/resources/ts/front/Components/cookie/CookieNotice.tsx +++ b/resources/ts/front/Components/cookie/CookieNotice.tsx @@ -518,8 +518,7 @@ const CookieNotice = forwardRef( mappingTextSize[textSize].xs, texts.modal?.description, )} - > - + >