fix(settings/options/language): key not found because language wasn't loaded yet

This commit is contained in:
2026-02-26 20:39:16 +01:00
parent 3dfed22a28
commit 7224dd29d7
3 changed files with 5 additions and 8 deletions

View File

@@ -176,11 +176,7 @@ const handleActivateA = () => {
setLocale(selectedLocale.code);
confirmationModal.open({
text: $t(
"settings.options.language.confirmation",
{},
{ locale: selectedLocale.code },
),
text: () => $t("settings.options.language.confirmation"),
onClosed: async () => {
await animateOutro();
store.closeSubMenu(true);