diff options
Diffstat (limited to 'apps/web/lib/trpc.tsx')
| -rw-r--r-- | apps/web/lib/trpc.tsx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/web/lib/trpc.tsx b/apps/web/lib/trpc.tsx new file mode 100644 index 00000000..79a2a9fe --- /dev/null +++ b/apps/web/lib/trpc.tsx @@ -0,0 +1,5 @@ +"use client"; +import type { AppRouter } from "@hoarder/trpc/routers/_app"; +import { createTRPCReact } from "@trpc/react-query"; + +export const api = createTRPCReact<AppRouter>(); |
