mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-23 14:07:20 +03:00
fix(CollectionSharingModal): remove recipient email
This commit is contained in:
parent
61c27f2100
commit
531df1cd48
@ -50,14 +50,8 @@ export const CollectionSharingModal = () => {
|
||||
window.open(`https://twitter.com/intent/tweet?text=${title}:%0D&url=${link}`, "_blank");
|
||||
|
||||
const handleEmailSharing = () => {
|
||||
let { email } = user;
|
||||
if (!email) {
|
||||
email = prompt("Please enter your email");
|
||||
}
|
||||
if (!email) return;
|
||||
|
||||
//TODO(amine): change email copy
|
||||
window.open(`mailfrom: ?subject=Check out this collection&body=${link}`, "_b");
|
||||
window.open(`mailto: ?subject=Check out this collection&body=${link}`, "_b");
|
||||
};
|
||||
|
||||
const handleLinkCopy = () => (Utilities.copyToClipboard(link), changeView("LINK_COPIED"));
|
||||
|
Loading…
Reference in New Issue
Block a user