We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9f7bd0 commit f3ee50cCopy full SHA for f3ee50c
src/containers/Settings/index.tsx
@@ -20,6 +20,7 @@ import { sc } from "../../utils/sizeScaler";
20
import Advanced from "./Tab/Advanced";
21
import General from "./Tab/General";
22
import Languages from "./Tab/Languages";
23
+import i18n from "../../locales";
24
25
const MODAL_WIDTH = 500;
26
const MODAL_HEIGHT = 300;
@@ -41,7 +42,7 @@ const SettingsModal = () => {
41
42
{ label: t("settings_lang_tab_title"), type: "languages" },
43
{ label: t("settings_advanced_tab_title"), type: "advanced" },
44
],
- []
45
+ [t, i18n.language]
46
);
47
48
const tabComponents = useMemo(
0 commit comments