From cd48a074f7ee70d79a94fad57346fb0f7834abd5 Mon Sep 17 00:00:00 2001 From: Peter White Date: Mon, 23 Mar 2026 09:04:11 +0100 Subject: [PATCH] Add change for assumed future API shape --- packages/gitbook/src/components/DocumentView/Table/Table.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/gitbook/src/components/DocumentView/Table/Table.tsx b/packages/gitbook/src/components/DocumentView/Table/Table.tsx index cb57a9f2b..26c9c07b9 100644 --- a/packages/gitbook/src/components/DocumentView/Table/Table.tsx +++ b/packages/gitbook/src/components/DocumentView/Table/Table.tsx @@ -46,10 +46,7 @@ export function Table(props: BlockProps) { }; const withHeader = hasVisibleHeader(block, block.data.view); const withStickyHeader = - withHeader && - context.mode !== 'print' && - 'stickyHeader' in block.data.view && - block.data.view.stickyHeader === true; + withHeader && context.mode !== 'print' && block.data.view.stickyHeader === true; if (withStickyHeader) { return (