chore: rename to ref page

This commit is contained in:
lawvs committed 2022-08-05 16:04:02 +08:00
1 parent c609d40f5a
commit 974239bf9d
6 files changed
+9 -9

No files matched your search

@@ -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);
};