Skip to content

Commit

Permalink
fix(client): fix undefined context (#4719)
Browse files Browse the repository at this point in the history
  • Loading branch information
mytharcher committed Jun 20, 2024
1 parent 362a838 commit f7f1bdf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f7f1bdf

Please sign in to comment.