This commit is contained in:
2025-06-06 03:12:19 +02:00
parent be9a9af137
commit 0aab9f55d7
49 changed files with 3255 additions and 93 deletions

View File

@@ -19,7 +19,11 @@ function getBaseUrl() {
}
export default function TrpcProvider({children}:{children: React.ReactNode}) {
const [queryClient] = useState(() => new QueryClient({}));
const [queryClient] = useState(() => new QueryClient({ defaultOptions: {
queries: {
experimental_prefetchInRender: true
}
}}));
const [trpcClient] = useState(() => {
return trpc.createClient({
links: [