From 2ba671b408b97a85d208415b708790373aaf19b0 Mon Sep 17 00:00:00 2001 From: Ildar Kamalov Date: Tue, 12 Aug 2025 10:45:00 +0300 Subject: [PATCH] fix --- client_v2/src/components/App/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client_v2/src/components/App/index.tsx b/client_v2/src/components/App/index.tsx index 3991b7c3..c2bee8f9 100644 --- a/client_v2/src/components/App/index.tsx +++ b/client_v2/src/components/App/index.tsx @@ -9,6 +9,7 @@ import { Footer } from 'panel/common/ui/Footer'; import { Header } from 'panel/common/ui/Header'; import Settings from 'panel/containers/Settings'; +import { LocalesType } from 'panel/common/intl'; import Toasts from '../Toasts'; import i18n from '../../i18n'; import { THEMES } from '../../helpers/constants'; @@ -63,7 +64,7 @@ const App = () => { } } - i18n.on('languageChanged', (lang) => { + i18n.on('languageChanged', (lang: LocalesType) => { dispatch(changeLanguage(lang)); }); };