function called on focus

https://pastebin.com/3DjUHxUR Hi, can somebody tell me why wakeUp.useQuery() function is called when I change page, even if I haven't wrote the command?
Pastebin
const RealTimeChat = () => { const { user } = useUser(); const [m...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
1 Reply
Matvey
Matvey13mo ago
by default tanstack query has refetchOnWindowFocus: true
Want results from more Discord servers?
Add your server