mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-23 17:47:24 +00:00
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.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
if (claim) {
|
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
|
// @endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue