diff --git a/src/components/DrawPDFFields/index.tsx b/src/components/DrawPDFFields/index.tsx index 7b4d233..b5211f9 100644 --- a/src/components/DrawPDFFields/index.tsx +++ b/src/components/DrawPDFFields/index.tsx @@ -74,7 +74,7 @@ export const DrawPDFFields = (props: Props) => { const parsePdfPages = async () => { const pdfFiles: PdfFile[] = [] - for (let file of selectedFiles) { + for (const file of selectedFiles) { if (file.type.toLowerCase().includes('pdf')) { const data = await readPdf(file) const pages = await pdfToImages(data) @@ -99,7 +99,7 @@ export const DrawPDFFields = (props: Props) => {