useCustomMutation is persisting the header.
I am passing a header in useCustomMutation for a single API call using config field. For all the subsequent calls, I am getting the same header in the API calls. So, I have set
Content-Type: multipart/form-data for one API call but this header is getting persisted for all the API calls until I refresh the page. All the other API calls should have Content-Type: application/json.