Skip to content

Commit

Permalink
fix(ShareTooltip): fix link for email share option (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunatic174 authored Dec 12, 2022
1 parent fa65998 commit 4a5eed0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export class ShareListItem extends React.PureComponent<ShareListItemProps> {
case ShareOptions.Mail:
return this.getShareUrlWithParams('mailto:', {
subject: title,
body: `${text}\n${url}`,
body: text ? `${text}\n${url}` : url,
});
default:
console.error(`Unknown share type: ${type}`);
Expand Down

0 comments on commit 4a5eed0

Please sign in to comment.