Simon
Simon
TtRPC
Created by Simon on 1/16/2024 in #❓-help
v10, passing useQuery options, queryKey mandatory?
I have a simple query like this
const me = api.user.me.useQuery(undefined, {
enabled: true,
})
const me = api.user.me.useQuery(undefined, {
enabled: true,
})
which results in an error Property 'queryKey' is missing in type .... So I have to pass the queryKey eventho it should be automatically generated?
5 replies