[Glitch] Fix inability to paste links

Port c87b05282909383353a9561e97b9f18a2db0766d 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;
}