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
Make the mutationFn
async by adding the async
prefix.