@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.
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -0
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6286,9 +6286,11 @@ var DataTableScrollFakeBorder = function DataTableScrollFakeBorder(_ref) {
|
|
|
6286
6286
|
setHeaderHeight = _React$useState[1];
|
|
6287
6287
|
React.useLayoutEffect(function () {
|
|
6288
6288
|
if (!tableRef.current) {
|
|
6289
|
+
console.log('ref not available');
|
|
6289
6290
|
return;
|
|
6290
6291
|
}
|
|
6291
6292
|
var header = tableRef.current.getElementsByTagName('thead')[0];
|
|
6293
|
+
console.log('header height', header.clientHeight);
|
|
6292
6294
|
setHeaderHeight(header.clientHeight);
|
|
6293
6295
|
}, [setHeaderHeight, tableRef]);
|
|
6294
6296
|
var backgroundColor = useBackgroundColor();
|