From e8f4bf1deab670637d18ccda4a84725b3a4df0fe Mon Sep 17 00:00:00 2001 From: Abi Raja Date: Sun, 26 Nov 2023 15:31:59 -0500 Subject: [PATCH] style fix --- frontend/src/components/ImageUpload.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } })