mutate function is not working #3190
Unanswered
deepikazuci
asked this question in
Q&A
Replies: 1 comment
-
not sure how this screenshots should be of any help? please post your code that calls useMutation - best in a reproducible codesandbox example, thank you. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using 2 post functions in one of the components. I used
useMutation
Hook for both. While one of themutate
function is working absolutely fine. I couldn't find why the othermutate
function is not working.I somehow managed to solve this issue by using regular Fetch function in combination with
refetch
from useQuery.May I know is there any configuration to make this work using
mutate
function fromuseMutation
???Beta Was this translation helpful? Give feedback.
All reactions