fix: refresh router after locale change in footer component

This commit is contained in:
Mauricio Siu
2025-10-11 00:23:31 -06:00
parent 7886e53114
commit f896d2d058

View File

@@ -94,6 +94,8 @@ export function Footer() {
router.replace("/", {
locale: locale as "en" | "zh-Hans" | "fr" | "es",
});
router.refresh();
}}
value={locale}
>