fix(i18n): localize admin recovery states

This commit is contained in:
cesnimda
2026-08-29 23:40:29 +02:00
parent 10ce0f2086
commit cf6509ce13
7 changed files with 125 additions and 42 deletions
+2 -2
View File
@@ -108,11 +108,11 @@ export default function ProfilePage() {
setLoadError(null);
} catch (error: any) {
setMe(null);
setLoadError(String(error?.response?.data || error?.message || "Unable to load profile right now."));
setLoadError(String(error?.response?.data || error?.message || t("profileLoadFailed")));
} finally {
setLoading(false);
}
}, []);
}, [t]);
useEffect(() => {
void loadProfile();