This commit is contained in:
Fabian W
2026-06-09 12:17:58 +02:00
committed by GitHub
parent c3e475c16d
commit 38987efc8a
@@ -60,7 +60,6 @@
}) })
async function handlePaste(e: ClipboardEvent) { async function handlePaste(e: ClipboardEvent) {
e.preventDefault()
const data = e.clipboardData const data = e.clipboardData
if (!data) return if (!data) return
@@ -79,6 +78,7 @@
} }
if (raw.length === 0) return if (raw.length === 0) return
e.preventDefault()
const seen = new Set<string>() const seen = new Set<string>()
const pasted: File[] = [] const pasted: File[] = []