Skip to contentOpen 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"; 4export const { TRPCProvider, useTRPC } = createTRPCContext<TRPCRouter>();