fix share link
This commit is contained in:
parent
25e6d5501b
commit
fea3533b4c
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ const ClaimPreview = forwardRef<any, {}>((props: Props, ref: any) => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
if (claim) {
|
if (claim) {
|
||||||
const shareLink = convertToShareLink(claim.canonical_url || claim.permanent_url);
|
const shareLink = convertToShareLink(claim.canonical_url || claim.permanent_url);
|
||||||
openCopyLinkMenu(shareLink.replace('#', ':'), e);
|
openCopyLinkMenu(shareLink.replace(/#/g, ':'), e);
|
||||||
}
|
}
|
||||||
// @endif
|
// @endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue