mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-09 22:21:49 +02:00
Switch to tRPC (#173)
This commit is contained in:
parent
3d7e7e8a95
commit
2c4157ea24
245 changed files with 1585 additions and 1755 deletions
5
src/utils/trpc.ts
Normal file
5
src/utils/trpc.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { createReactQueryHooks } from "@trpc/react";
|
||||
|
||||
import type { AppRouter } from "../pages/api/trpc/[trpc]";
|
||||
|
||||
export const trpc = createReactQueryHooks<AppRouter>();
|
Loading…
Add table
Add a link
Reference in a new issue