From c0ca9de5a077c19afa4d824ed4a52ead62fb1b9b Mon Sep 17 00:00:00 2001 From: Stixx Date: Sat, 29 Jun 2024 00:46:35 +0200 Subject: [PATCH] style: lint --- src/components/DrawPDFFields/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/DrawPDFFields/index.tsx b/src/components/DrawPDFFields/index.tsx index b5211f9..20e14f8 100644 --- a/src/components/DrawPDFFields/index.tsx +++ b/src/components/DrawPDFFields/index.tsx @@ -153,7 +153,7 @@ export const DrawPDFFields = (props: Props) => { return !!pdfFiles.filter(pdfFile => !!pdfFile.expanded).length } - const handleAccordionExpandChange = (event: React.SyntheticEvent, expanded: boolean, pdfFile: PdfFile) => { + const handleAccordionExpandChange = (expanded: boolean, pdfFile: PdfFile) => { pdfFile.expanded = expanded setPdfFiles(pdfFiles) @@ -189,7 +189,7 @@ export const DrawPDFFields = (props: Props) => { {pdfFiles.map((pdfFile) => { return ( - {handleAccordionExpandChange(event, expanded, pdfFile)}}> + {handleAccordionExpandChange(expanded, pdfFile)}}> } aria-controls="panel1-content"