joschan21/quill

the onSuccess query property is not on my list hence am getting tis message "No overload matches this call."

Opened this issue · 1 comments

the onSuccess query property is not on my list hence am getting tis message "No overload matches this call."

The onSuccess callback is no longer supported by useQuery in react-query v5. For more information on this, see this article https://tkdodo.eu/blog/breaking-react-querys-api-on-purpose and this documentation https://tanstack.com/query/v5/docs/react/guides/migrating-to-v5