Rohit Verma
Rohit Verma
TtRPC
Created by Rohit Verma on 6/14/2024 in #❓-help
strange behaviour with t3 trpc starter
I had copied the provided create-post component and created a duplicate create-video component, exact same just different db table. https://github.com/rverma-dev/t3-app-bug/commit/d08f1ca79e3dcbba6033b477308a14b7ee530536. However the page gets rendered and immediately it error out Error: ❌ Attempted to access a server-side environment variable on the client. Kind of looking at it for last 4-5 hours but no luck at all. The code is exact same as of create-post but don't work.
1 replies