import { useMutation } from '@tanstack/react-query';
import nrApi from '../utils/api';

const useCetakPdfNr = (options?: any) =>
  useMutation({
    mutationKey: ['unifikasi', 'nr', 'cetak-pdf'],
    mutationFn: async (params: any) => nrApi.cetakPdfDetail(params),
    ...options,
  });

export default useCetakPdfNr;
