mirror of
https://github.com/docmost/docmost.git
synced 2026-09-02 11:55:35 +08:00
refactor(base): rename baseId to pageId in client components
This commit is contained in:
@@ -44,7 +44,7 @@ export function CellPage({
|
||||
onCancel,
|
||||
}: CellPageProps) {
|
||||
const pageId = parsePageId(value);
|
||||
const { data: base } = useBaseQuery(property.baseId);
|
||||
const { data: base } = useBaseQuery(property.pageId);
|
||||
|
||||
const ids = useMemo(() => (pageId ? [pageId] : []), [pageId]);
|
||||
const { pages } = useResolvedPages(ids);
|
||||
|
||||
Reference in New Issue
Block a user