feat: Updated frontend/src/components/ImageUpload.
This commit is contained in:
parent
808b49d789
commit
d0ded29b7a
@ -49,7 +49,6 @@ function fileToDataURL(file: File) {
|
||||
type FileWithPreview = {
|
||||
preview: string;
|
||||
} & File;
|
||||
);
|
||||
|
||||
// Convert images to data URLs and set the prompt images state
|
||||
Promise.all(acceptedFiles.map((file) => fileToDataURL(file)))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user