wip: Disable async improt of translations for mobile

This commit is contained in:
Zoe Roux 2025-02-15 01:44:22 +01:00
parent b1f6fdc30f
commit 16d6c65eba
No known key found for this signature in database

View File

@ -9,6 +9,11 @@ import { ErrorConsumer } from "./error-consumer";
import { ErrorProvider } from "./error-provider"; import { ErrorProvider } from "./error-provider";
import { TranslationsProvider } from "./translations"; import { TranslationsProvider } from "./translations";
// const { TranslationsProvider } =
// typeof window === "undefined"
// ? await import("./translations.ssr")
// : await import("./translations");
//
const QueryProvider = ({ children }: { children: ReactNode }) => { const QueryProvider = ({ children }: { children: ReactNode }) => {
const [queryClient] = useState(() => createQueryClient()); const [queryClient] = useState(() => createQueryClient());
return ( return (