From 16d6c65eba3c38c363feea060c69fd35a095c667 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Sat, 15 Feb 2025 01:44:22 +0100 Subject: [PATCH] wip: Disable async improt of translations for mobile --- front/src/providers/index.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/front/src/providers/index.tsx b/front/src/providers/index.tsx index 4166e315..3de444d3 100644 --- a/front/src/providers/index.tsx +++ b/front/src/providers/index.tsx @@ -9,6 +9,11 @@ import { ErrorConsumer } from "./error-consumer"; import { ErrorProvider } from "./error-provider"; import { TranslationsProvider } from "./translations"; +// const { TranslationsProvider } = +// typeof window === "undefined" +// ? await import("./translations.ssr") +// : await import("./translations"); +// const QueryProvider = ({ children }: { children: ReactNode }) => { const [queryClient] = useState(() => createQueryClient()); return (