Fix inability to paste links (#36896)

This commit is contained in:
Claire 2025-11-14 17:44:08 +01:00 committed by GitHub
parent ebc99cd597
commit c87b052829
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,6 @@ const processPasteOrDrop = (transfer, e, dispatch) => {
try {
const url = new URL(data);
dispatch(pasteLinkCompose({ url }));
e.preventDefault();
} catch {
return;
}