Skip to content

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.

fix code copy to clipboard

DiamondThree499b67340694
diff --git a/libs/components/editor-plugins/src/menu/inline-menu/Container.tsx b/libs/components/editor-plugins/src/menu/inline-menu/Container.tsx
index 2b4ca21304..f8cce31df9 100644
--- a/libs/components/editor-plugins/src/menu/inline-menu/Container.tsx
+++ b/libs/components/editor-plugins/src/menu/inline-menu/Container.tsx
@@ -53,7 +53,6 @@ export const InlineMenuContainer = ({
setShowMenu(true);
setContainerStyle({ left: rect.left, top: rect.top - 64 });
});
-
return unsubscribe;
}, [editor]);