style fix
This commit is contained in:
parent
b59acc0dd0
commit
5cd113fd54
@ -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));
|
||||
}
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user