mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-12 07:36:42 +08:00
fix(core): fix copy block link (#8650)
This commit is contained in:
+2
-2
@@ -172,8 +172,8 @@ export const AFFiNESharePage = (props: ShareMenuProps) => {
|
||||
onClickCopyLink('edgeless' as DocMode);
|
||||
}, [onClickCopyLink]);
|
||||
const onCopyBlockLink = useCallback(() => {
|
||||
onClickCopyLink(undefined, blockIds, elementIds);
|
||||
}, [onClickCopyLink, blockIds, elementIds]);
|
||||
onClickCopyLink(currentMode, blockIds, elementIds);
|
||||
}, [onClickCopyLink, currentMode, blockIds, elementIds]);
|
||||
|
||||
if (isLoading) {
|
||||
// TODO(@eyhn): loading and error UI
|
||||
|
||||
Reference in New Issue
Block a user