[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 committed 2025-11-14 18:29:07 +01:00
1 parent 8817ebda50
commit 5645a017b3
1 file changed
-1
@@ -47,7 +47,6 @@ const processPasteOrDrop = (transfer, e, dispatch) => {
try {
const url = new URL(data);
dispatch(pasteLinkCompose({ url }));
e.preventDefault();
} catch {
return;
}