diff --git a/app/root.tsx b/app/root.tsx index d505ae915..1501cda57 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -79,6 +79,8 @@ export const shouldRevalidate: ShouldRevalidateFunction = (args) => { const json = args.json as Record | undefined; if (json?.revalidateRoot === true) return true; + if (args.nextUrl.searchParams.has("lng")) return true; + return false; };