@7shifts/sous-chef 3.57.3-beta1 → 3.57.3-beta2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6405,9 +6405,11 @@ const DataTableScrollFakeBorder = ({
6405
6405
  const [headerheight, setHeaderHeight] = React__default.useState(24);
6406
6406
  useLayoutEffect(() => {
6407
6407
  if (!tableRef.current) {
6408
+ console.log('ref not available');
6408
6409
  return;
6409
6410
  }
6410
6411
  const header = tableRef.current.getElementsByTagName('thead')[0];
6412
+ console.log('header height', header.clientHeight);
6411
6413
  setHeaderHeight(header.clientHeight);
6412
6414
  }, [setHeaderHeight, tableRef]);
6413
6415
  const backgroundColor = useBackgroundColor();