How to properly do data call on SSR with tRPC before loading render content?

https://pastebin.com/pFiaYsMk - Content of my file. I need line 10 to be loaded before my route hydrates the page. I much do a check when /dashboard (called Home) loads, to know if the user already has an associated organization. Currently when I refresh the page, my page doesn't do the call.
Pastebin
import { Type } from "@prisma/client"import { PageLayout } from "~/...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server