[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 {
|
try {
|
||||||
const url = new URL(data);
|
const url = new URL(data);
|
||||||
dispatch(pasteLinkCompose({ url }));
|
dispatch(pasteLinkCompose({ url }));
|
||||||
e.preventDefault();
|
|
||||||
} catch {
|
} catch {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user