Troubleshot: React Query useMutation type error
13 June 2023 (Updated 13 June 2023)
Problem
Solution
Make the mutationFn
async by adding the async
prefix.
Tagged:
React Query
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment