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.

feat(more-actions): hidde undefined function

zhangchi3ec95e437733
diff --git a/libs/components/layout/src/workspace-sidebar/page-tree/tree-item/MoreActions.tsx b/libs/components/layout/src/workspace-sidebar/page-tree/tree-item/MoreActions.tsx
index d797f146b9..d2e00bc471 100644
--- a/libs/components/layout/src/workspace-sidebar/page-tree/tree-item/MoreActions.tsx
+++ b/libs/components/layout/src/workspace-sidebar/page-tree/tree-item/MoreActions.tsx
@@ -176,24 +176,24 @@ function DndTreeItemMoreActions(props: ActionsProps) {
title: '',
isDivide: true,
},
- {
- title: 'New Child Page',
- callback: () => {
- handle_new_child_page();
- },
- },
- {
- title: 'New Prev Page',
- callback: () => {
- handle_new_prev_page();
- },
- },
- {
- title: 'New Next Page',
- callback: () => {
- handle_new_next_page();
- },
- },
+ // {
+ // title: 'New Child Page',
+ // callback: () => {
+ // handle_new_child_page();
+ // },
+ // },
+ // {
+ // title: 'New Prev Page',
+ // callback: () => {
+ // handle_new_prev_page();
+ // },
+ // },
+ // {
+ // title: 'New Next Page',
+ // callback: () => {
+ // handle_new_next_page();
+ // },
+ // },
{
title: 'New From Template',
subItems: templateMenuList,