Fix inability to paste links (#36896)
This commit is contained in:
parent
ebc99cd597
commit
c87b052829
@ -29,7 +29,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