Disabled tRPC Query, default inputs
I have to wait for some data to exist before running the query. Typescript complains that I need to pass a string so I have to put a useless default in my query input (
selectedBatch?._id || ""
). Is there a better/cleaner way to do this?
0 Replies