timvir 0.2.13 → 0.2.14

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.
@@ -212,11 +212,9 @@ function Viewport(props, ref) {
212
212
  };
213
213
  }, [svgROE]);
214
214
  const iframeRO = useResizeObserver(entries => {
215
- if (height !== undefined) {
216
- const height = entries[entries.length - 1].contentRect.height;
217
- setHeight(height);
218
- setMaxHeight(Math.max(height, maxHeight !== null && maxHeight !== void 0 ? maxHeight : 0));
219
- }
215
+ const height = entries[entries.length - 1].contentRect.height;
216
+ setHeight(height);
217
+ setMaxHeight(Math.max(height, maxHeight !== null && maxHeight !== void 0 ? maxHeight : 0));
220
218
  });
221
219
 
222
220
  /*
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "timvir",
4
- "version": "0.2.13",
4
+ "version": "0.2.14",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,
7
7
  "exports": {