fix(miniapp): refresh data after locale changes

This commit is contained in:
2026-03-12 11:41:08 +04:00
parent bfe6ae65ae
commit 5f37b3cc23

View File

@@ -1109,6 +1109,7 @@ function App() {
: current : current
) )
setLocale(updated.effectiveLocale) setLocale(updated.effectiveLocale)
await refreshHouseholdData(initData, true, true)
} finally { } finally {
setSavingMemberLocale(false) setSavingMemberLocale(false)
} }
@@ -1141,6 +1142,8 @@ function App() {
if (!currentReady.member.preferredLocale) { if (!currentReady.member.preferredLocale) {
setLocale(updated.effectiveLocale) setLocale(updated.effectiveLocale)
} }
await refreshHouseholdData(initData, true, true)
} finally { } finally {
setSavingHouseholdLocale(false) setSavingHouseholdLocale(false)
} }