[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:
parent
8817ebda50
commit
5645a017b3
@ -47,7 +47,6 @@ const processPasteOrDrop = (transfer, e, dispatch) => {
|
||||
try {
|
||||
const url = new URL(data);
|
||||
dispatch(pasteLinkCompose({ url }));
|
||||
e.preventDefault();
|
||||
} catch {
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user