Skip to content
Source
Sign inSign up
TanStack/cli
Open History to see the last commit

react.ts

4 lines201 Bytes

1import { createTRPCContext } from "@trpc/tanstack-react-query";
2import type { TRPCRouter } from "@/integrations/trpc/router";
3​
4export const { TRPCProvider, useTRPC } = createTRPCContext<TRPCRouter>();