@equinor/apollo-components 3.1.2-rowfix.11 → 3.1.2-rowfix.13
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1122,7 +1122,7 @@ function DataTable(props) {
|
|
|
1122
1122
|
const [hasRef, setHasRef] = (0, import_react6.useState)(false);
|
|
1123
1123
|
(0, import_react6.useEffect)(() => {
|
|
1124
1124
|
setHasRef(Boolean(tableContainerRef.current));
|
|
1125
|
-
}, [tableContainerRef.current
|
|
1125
|
+
}, [Boolean(tableContainerRef.current)]);
|
|
1126
1126
|
return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(DataTableWrapper, {
|
|
1127
1127
|
height: props == null ? void 0 : props.height,
|
|
1128
1128
|
width: props == null ? void 0 : props.width,
|
package/dist/index.mjs
CHANGED
|
@@ -1079,7 +1079,7 @@ function DataTable(props) {
|
|
|
1079
1079
|
const [hasRef, setHasRef] = useState5(false);
|
|
1080
1080
|
useEffect3(() => {
|
|
1081
1081
|
setHasRef(Boolean(tableContainerRef.current));
|
|
1082
|
-
}, [tableContainerRef.current
|
|
1082
|
+
}, [Boolean(tableContainerRef.current)]);
|
|
1083
1083
|
return /* @__PURE__ */ jsxs11(DataTableWrapper, {
|
|
1084
1084
|
height: props == null ? void 0 : props.height,
|
|
1085
1085
|
width: props == null ? void 0 : props.width,
|