chore: rename to ref page

This commit is contained in:
lawvs
2022-08-03 15:23:01 +08:00
parent c609d40f5a
commit 974239bf9d
6 changed files with 9 additions and 9 deletions

View File

@@ -2,7 +2,7 @@ import type { KanbanCard } from '@toeverything/components/editor-core';
import {
RenderBlock,
useKanban,
useSubPage,
useRefPage,
} from '@toeverything/components/editor-core';
import { styled } from '@toeverything/components/ui';
@@ -62,7 +62,7 @@ export const CardItem = ({
block: KanbanCard['block'];
}) => {
const { addSubItem } = useKanban();
const { openSubPage } = useSubPage();
const { openSubPage } = useRefPage();
const onAddItem = async () => {
await addSubItem(block);
};