dockview-react 4.2.1 → 4.2.3

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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * dockview-react
3
- * @version 4.2.1
3
+ * @version 4.2.3
4
4
  * @link https://github.com/mathuo/dockview
5
5
  * @license MIT
6
6
  */
@@ -11142,6 +11142,7 @@ const DockviewReact = React.forwardRef((props, ref) => {
11142
11142
  }
11143
11143
  dockviewRef.current = api;
11144
11144
  return () => {
11145
+ dockviewRef.current = undefined;
11145
11146
  api.dispose();
11146
11147
  };
11147
11148
  }, []);
@@ -11377,6 +11378,7 @@ const SplitviewReact = React.forwardRef((props, ref) => {
11377
11378
  }
11378
11379
  splitviewRef.current = api;
11379
11380
  return () => {
11381
+ splitviewRef.current = undefined;
11380
11382
  api.dispose();
11381
11383
  };
11382
11384
  }, []);
@@ -11460,6 +11462,7 @@ const GridviewReact = React.forwardRef((props, ref) => {
11460
11462
  }
11461
11463
  gridviewRef.current = api;
11462
11464
  return () => {
11465
+ gridviewRef.current = undefined;
11463
11466
  api.dispose();
11464
11467
  };
11465
11468
  }, []);
@@ -11565,6 +11568,7 @@ const PaneviewReact = React.forwardRef((props, ref) => {
11565
11568
  }
11566
11569
  paneviewRef.current = api;
11567
11570
  return () => {
11571
+ paneviewRef.current = undefined;
11568
11572
  api.dispose();
11569
11573
  };
11570
11574
  }, []);