fix share link so claim id isn't lost in url
This commit is contained in:
parent
af5ee2f253
commit
1cae7a6038
1 changed files with 2 additions and 1 deletions
|
@ -164,7 +164,8 @@ const ClaimPreview = forwardRef<any, {}>((props: Props, ref: any) => {
|
|||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
if (claim) {
|
||||
openCopyLinkMenu(convertToShareLink(claim.canonical_url || claim.permanent_url), e);
|
||||
const shareLink = convertToShareLink(claim.canonical_url || claim.permanent_url);
|
||||
openCopyLinkMenu(shareLink.replace('#', ':'), e);
|
||||
}
|
||||
// @endif
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue