fix share link so claim id isn't lost in url

This commit is contained in:
Sean Yesmunt 2020-06-03 11:19:59 -04:00
parent af5ee2f253
commit 1cae7a6038

View file

@ -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
}