mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-08 18:54:22 -04:00
wip: Disable async improt of translations for mobile
This commit is contained in:
parent
b1f6fdc30f
commit
16d6c65eba
@ -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 (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user