@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 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.toString()]);
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.toString()]);
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/apollo-components",
3
- "version": "3.1.2-rowfix.11",
3
+ "version": "3.1.2-rowfix.13",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",