From 4a6e65d4be605de81c4b9cc1b71f9b2144128258 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Tue, 20 May 2025 13:41:24 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(frontend)=20restore=20user=20langu?= =?UTF-8?q?age=20synchronization=20between=20front=20and=20back?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix issue where user language preferences stopped properly syncing between frontend and backend, causing inconsistent language experience. Issue was reported by user and affected localization settings persistence. --- src/frontend/src/components/AppInitialization.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontend/src/components/AppInitialization.tsx b/src/frontend/src/components/AppInitialization.tsx index 5b37d6ae..1477c6d4 100644 --- a/src/frontend/src/components/AppInitialization.tsx +++ b/src/frontend/src/components/AppInitialization.tsx @@ -2,9 +2,11 @@ import { silenceLiveKitLogs } from '@/utils/livekit' import { useConfig } from '@/api/useConfig' import { useAnalytics } from '@/features/analytics/hooks/useAnalytics' import { useSupport } from '@/features/support/hooks/useSupport' +import { useSyncUserPreferencesWithBackend } from '@/features/auth' export const AppInitialization = () => { const { data } = useConfig() + useSyncUserPreferencesWithBackend() const { analytics = {},