Skip to content

Commit

Permalink
fix(core): adjust the tracking point for copy sharing link (#8395)
Browse files Browse the repository at this point in the history
close AF-1439
  • Loading branch information
JimmFly committed Sep 26, 2024
1 parent abd5748 commit bd9ae3d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ export const AFFiNESharePage = (props: ShareMenuProps) => {
onClickCopyLink('edgeless' as DocMode);
}, [onClickCopyLink]);
const onCopyBlockLink = useCallback(() => {
onClickCopyLink(currentMode, blockIds, elementIds);
}, [currentMode, onClickCopyLink, blockIds, elementIds]);
onClickCopyLink(undefined, blockIds, elementIds);
}, [onClickCopyLink, blockIds, elementIds]);

if (isLoading) {
// TODO(@eyhn): loading and error UI
Expand Down

0 comments on commit bd9ae3d

Please sign in to comment.