How to use trpc query if input data is not available at mount?

Viewed 26

I have a component with a list of conversations and i want to load a specific conversation on click. The problem is that I have to initialise the second trpc query at mount and I dont have the required data yet. Any help would be highly apriciated.

1 Answers
Related