mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-17 18:18:07 +00:00
[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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user