Syntax help for useQuery with no inputs

hi, i have two queries in my component, however on my first query I can't pass in refetchOnMount? any ideas? Thanks
2 Replies
Neto
Neto•2y ago
use undefined as the first argument
potato
potatoOP•2y ago
much appreciated thank you, i ended up wrapping both queries in the route anyway with a transaction, but still helpful to know 🙂
Want results from more Discord servers?
Add your server