From 0649db87f0dae08c83f2273b4dd66dcf9442f3cd Mon Sep 17 00:00:00 2001 From: Joseph Garrone Date: Wed, 7 Aug 2024 07:27:42 +0200 Subject: [PATCH] The ui-locales is not nessesary --- src/App.tsx | 11 +++-------- src/oidc.ts | 5 +---- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 851f017..60859ee 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -59,8 +59,6 @@ export function ContextualizedApp() { const { logout, goToAuthServer, backFromAuthServer, oidcTokens } = useOidc(); - const ui_locales= oidcTokens.decodedIdToken.locale?.[0] ?? "en"; - /* const backFromAuthServer = { extraQueryParams: { @@ -121,8 +119,7 @@ export function ContextualizedApp() {