Trouble getting a TRPC client in Astro SSR pages, instead I get a noop

I'd like to add TRPC to an Astro site. I have an SSR route here (https://github.com/aisflat439/another-abandoned-idea-app/blob/main/packages/web/src/pages/index.astro) that imports my client. The client is straightforward and can be found here (https://github.com/aisflat439/another-abandoned-idea-app/blob/main/packages/web/src/trpc/client/index.ts). I get types on my trpcAstro client so I'm relatively confident that my server is set up correctly but here it is for reference (https://github.com/aisflat439/another-abandoned-idea-app/blob/main/packages/web/src/trpc/server/index.ts). I've referenced this https://www.thomasledoux.be/blog/using-trpc-astro-islands-react along with a handful of sites I've found to reference on github. But no matter how I configure this I seem to get an empty client (see attached image) I'm likely missing something silly but does anyone see what I'm missing? This may also be an issue with Astro and I'm asking a similar question in their discord. I have searched the help channel along checking github but I've had no success.
No description
0 Replies
No replies yetBe the first to reply to this messageJoin