You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems like essentially the same problem as #5910, except with invalidateQueries instead of refetch. It also happens with resetQueries (maybe more?). Basically, the query key that's passed into the query function can be out of sync with the current value of the ref after the ref is changed.