trpc in server components
Has anyone been able to use trpc to access the db in a server component?
I’m able to access it using the db directly, but it fails if I use trpc/server.
Note: build && start works fine locally. But it fails when deployed to Vercel.
0 Replies