I'm trying to create a custom hook to make a POST call but I get a problem when trying to call the mutate function. Here's my code.
This is how I'm trying to call it:
Thanks for your help!
I'm trying to create a custom hook to make a POST call but I get a problem when trying to call the mutate function. Here's my code.
This is how I'm trying to call it:
Thanks for your help!