diff --git a/apps/spu-ui/src/app/_components/upload-button.tsx b/apps/spu-ui/src/app/_components/upload-button.tsx index 76129cc..282ff34 100644 --- a/apps/spu-ui/src/app/_components/upload-button.tsx +++ b/apps/spu-ui/src/app/_components/upload-button.tsx @@ -41,7 +41,7 @@ export function UploadButton(props: ButtonProps) { parse(file, { header: true, skipEmptyLines: true, - complete: async (results) => { + complete: (results) => { const { data: csvData, errors } = results; if (errors.length > 0) { console.error("Error reading CSV file", errors);