fix(settings/options/language): key not found because language wasn't loaded yet
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user