Merge pull request #5134 from uinstinct/fix-image-upload

allow to upload same image more than once
This commit is contained in:
Patrick Erichsen 2025-04-17 16:24:18 -07:00 • committed by GitHub
commit 54e3b17c6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -148,6 +148,9 @@ function InputToolbar(props: InputToolbarProps) {
for (const file of files) {
props.onImageFileSelected?.(file);
}
if (fileInputRef.current) {
fileInputRef.current.value = "";
}
}}
/>
<HoverItem className="">