useQuery onError handler won't accept a promise - TanStack