mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-17 10:56:19 +02:00
♻️ Move trpc client code to app (#906)
This commit is contained in:
parent
502f2a7a43
commit
5be17fd249
34 changed files with 133 additions and 124 deletions
|
@ -1,8 +1,8 @@
|
|||
import { initTRPC, TRPCError } from "@trpc/server";
|
||||
import superjson from "superjson";
|
||||
|
||||
import { TRPCContext } from "../next/trpc/server";
|
||||
import { getSubscriptionStatus } from "../utils/auth";
|
||||
import { TRPCContext } from "./context";
|
||||
|
||||
const t = initTRPC.context<TRPCContext>().create({
|
||||
transformer: superjson,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue