diff --git a/frontend/src/components/ImageUpload.tsx b/frontend/src/components/ImageUpload.tsx index f024e2e..bc17d5f 100644 --- a/frontend/src/components/ImageUpload.tsx +++ b/frontend/src/components/ImageUpload.tsx @@ -106,7 +106,7 @@ function ImageUpload({ setReferenceImages }: Props) { // Convert images to data URLs and set the prompt images state Promise.all(files.map((file) => fileToDataURL(file))) .then((dataUrls) => { - if(dataUrls.length > 0) { + if (dataUrls.length > 0) { setReferenceImages(dataUrls.map((dataUrl) => dataUrl as string)); } })