diff --git a/packages/core/client/src/schema-component/hooks/useBlockSize.ts b/packages/core/client/src/schema-component/hooks/useBlockSize.ts index d44b7d3925..6397c0cd32 100644 --- a/packages/core/client/src/schema-component/hooks/useBlockSize.ts +++ b/packages/core/client/src/schema-component/hooks/useBlockSize.ts @@ -91,7 +91,7 @@ const useTableHeight = () => { const schema = useFieldSchema(); const heightProps = tableHeightProps || blockHeightProps; const pageFullScreenHeight = useFullScreenHeight(heightProps); - const { data } = useDataBlockRequest(); + const { data } = useDataBlockRequest() ?? {}; const { name } = useCollection(); const { count, pageSize } = (data as any)?.meta || ({} as any); const hasPagination = count > pageSize;