[Glitch] Fix inability to paste links

Port c87b052829 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Claire
2025-11-14 17:44:08 +01:00
parent 8817ebda50
commit 5645a017b3

View File

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