mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
wip: Disable async improt of translations for mobile
This commit is contained in:
parent
da95bec2d8
commit
503b3dab6e
@ -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