TypeScript Error with useMutation in Tanstack Query for Updating Data
Hi everyone,
I'm facing an issue with using
useMutation in Tanstack Query to update a single row of data in my React application. The goal is to update patient data using a form and handle optimistic updates. However, I'm encountering a TypeScript error that I can't seem to resolve.3 Replies
fair-rose•2y ago
Show a typescript playground please
exotic-emeraldOP•2y ago
look the attached file bro
fair-rose•2y ago
If you want me to look at it, convert it to a playground please