mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 13:01:59 +03:00
fix(core): adjust the tracking point for copy sharing link (#8395)
close AF-1439
This commit is contained in:
parent
abd57484ba
commit
bd9ae3d80a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user