Hey..... I am trying to implement some sort of sidebar, How do I go to correct path

I am not sure how to get the [id] so I can prefix all my paths to make it navigate to the right page test.com/90923 -> test.com/90923/settings -> test.com/90923/links etc
9 Replies
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
tropic
tropicOP•2y ago
I feel so dumb right now it is a sign for me to go to sleep been at this from this morning Thank you This is probably a tmrw me problem but I cannot get the params to pass to my prisma query for use in pagination in time it passes {} before actually passing the query param to the query
tropic
tropicOP•2y ago
Keef
Keef•2y ago
Enabled property on the query/mutation
tropic
tropicOP•2y ago
que ?
Keef
Keef•2y ago
Dependent Queries | TanStack Query Docs
Dependent (or serial) queries depend on previous ones to finish before they can execute. To achieve this, it's as easy as using the enabled option to tell a query when it is ready to run:
Keef
Keef•2y ago
😄
tropic
tropicOP•2y ago
thanks read through the thread this is exactly what I needed thank you
Want results from more Discord servers?
Add your server