Conditional mutationFn in useMutation - TanStack