There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(core): fix copy block link (#8650)
EYHN1f6cce2f5ed9
diff --git a/packages/frontend/core/src/components/affine/share-page-modal/share-menu/share-page.tsx b/packages/frontend/core/src/components/affine/share-page-modal/share-menu/share-page.tsxindex ef2763e3ce..4c7d312e93 100644--- a/packages/frontend/core/src/components/affine/share-page-modal/share-menu/share-page.tsx+++ b/packages/frontend/core/src/components/affine/share-page-modal/share-menu/share-page.tsx@@ -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