How do we add settings in each query like before?
Since the new update, bee super confused. I used to do this, and can't recreate it now.
const {
data: traitz,
isLoading,
refetch: refetchTraitz,
} = trpc.useQuery(["trait.get-traits"], {
refetchOnWindowFocus: false,
enabled: !publicKey,
}); const {
data: traitz,
isLoading,
refetch: refetchTraitz,
} = trpc.trait.getTraits.useQuery();