title: Can't I put multiple data arguments in the react-query useMutation hook?
body: <p>If you look at the guide, the useMutation Hook argument is structured like this.</p>
  <pre><code>const {
    data,
    error,
    isError,
    isIdle,
    isLoading,
    isPaused,
    isSuccess,
    mutate,
    mutateAsync,
    reset,
    status,
  } = useMutation(mutationFn, {
    cacheTime,
    mutationKey,
    networkMode,
    onError,
    onMutate,
    onSettled,
    onSuccess,
    retry,
    retryDelay,
    useErrorBoundary,
    meta
  })
  </code></pre>
  <p>The asynchronous axios function is structured like this:</p>
  <pre><code>async function setSupplierRegister(
    basic: Basic,
    operator: Operator,
    delivery: Delivery,
    bank: Bank
  ): Promise&lt;void&gt; {
    await axiosInstance.post(&quot;/register&quot;, {
      basic: basic,
      operator: operator,
      delivery: delivery,
      bank: bank,
    });
  }
  </code></pre>
  <p>The asynchronous function requires 4 arguments, but only 1 data value can be retrieved in the useMutation Hook argument.
  Therefore, if you declare 4 arguments to useMutation , an error occurs.</p>
  <pre><code>
  export function useRegister(): UseMutateFunction&lt;
      void,
      unknown,
      any,
      unknown
  &gt; {
    const { mutate } = useMutation(
  // (basic: Basic, operator: Operator, delivery: Delivery, bank: Bank) =&gt; setSupplierRegister(basic, operator, delivery, bank), error 
      (data: any) =&gt; setSupplierRegister(data),
    );
    return mutate;
  }
  </code></pre>
  <p>How should I handle it to declare 4 arguments in the useMutation function?</p>