style: lint

This commit is contained in:
Stixx 2024-06-29 00:46:35 +02:00
parent 2585017905
commit c0ca9de5a0

View File

@ -153,7 +153,7 @@ export const DrawPDFFields = (props: Props) => {
return !!pdfFiles.filter(pdfFile => !!pdfFile.expanded).length
}
const handleAccordionExpandChange = (event: React.SyntheticEvent<Element, Event>, 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 (
<Accordion expanded={pdfFile.expanded} onChange={(event, expanded) => {handleAccordionExpandChange(event, expanded, pdfFile)}}>
<Accordion expanded={pdfFile.expanded} onChange={(_event, expanded) => {handleAccordionExpandChange(expanded, pdfFile)}}>
<AccordionSummary
expandIcon={<ExpandMore />}
aria-controls="panel1-content"