refactor(FE): Remove unused params argument from

generateReportExpensePDF
This commit is contained in:
rstubryan
2026-03-05 11:41:43 +07:00
parent 96ef6f8496
commit 03baba40a6
@@ -30,8 +30,7 @@ const getStatusColor = (action?: string): [number, number, number] => {
}; };
export const generateReportExpensePDF = async ( export const generateReportExpensePDF = async (
data: ReportExpense[], data: ReportExpense[]
params: PDFParams
): Promise<void> => { ): Promise<void> => {
// Inisialisasi dokumen dengan tipe yang sudah diekstensi // Inisialisasi dokumen dengan tipe yang sudah diekstensi
const doc = new jsPDF('l', 'mm', 'a4') as jsPDFWithAutoTable; const doc = new jsPDF('l', 'mm', 'a4') as jsPDFWithAutoTable;