mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-02-20 10:10:08 -05:00
28 lines
592 B
TypeScript
28 lines
592 B
TypeScript
import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
|
|
import { Slot } from "expo-router";
|
|
import { Platform } from "react-native";
|
|
import { Providers } from "~/providers";
|
|
import "../global.css";
|
|
import { Tooltip, useMobileHover } from "~/primitives";
|
|
import "~/fonts.web.css";
|
|
|
|
export const unstable_settings = {
|
|
initialRouteName: "(app)",
|
|
};
|
|
|
|
export default function Layout() {
|
|
useMobileHover();
|
|
|
|
return (
|
|
<Providers>
|
|
<Slot />
|
|
{Platform.OS === "web" && (
|
|
<>
|
|
<ReactQueryDevtools initialIsOpen={false} />
|
|
<Tooltip />
|
|
</>
|
|
)}
|
|
</Providers>
|
|
);
|
|
}
|