queryFn won't refetch with new state (it sort of does but not the way i expected) - TanStack