diff --git a/webview/src/experiments/components/table/TableHead.tsx b/webview/src/experiments/components/table/TableHead.tsx index 9033d47e73..0dadb940e3 100644 --- a/webview/src/experiments/components/table/TableHead.tsx +++ b/webview/src/experiments/components/table/TableHead.tsx @@ -49,7 +49,7 @@ export const TableHead = ({ if (wrapperHeight) { setTableHeadHeight(wrapperHeight) } - }, [setTableHeadHeight]) + }, [setTableHeadHeight, headerGroups]) const onDragStart: DragFunction = ({ currentTarget }) => { const displacerHeader = allHeaders.find(