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
  */
@@ -11144,6 +11144,7 @@ const DockviewReact = React.forwardRef((props, ref) => {
11144
11144
  }
11145
11145
  dockviewRef.current = api;
11146
11146
  return () => {
11147
+ dockviewRef.current = undefined;
11147
11148
  api.dispose();
11148
11149
  };
11149
11150
  }, []);
@@ -11379,6 +11380,7 @@ const SplitviewReact = React.forwardRef((props, ref) => {
11379
11380
  }
11380
11381
  splitviewRef.current = api;
11381
11382
  return () => {
11383
+ splitviewRef.current = undefined;
11382
11384
  api.dispose();
11383
11385
  };
11384
11386
  }, []);
@@ -11462,6 +11464,7 @@ const GridviewReact = React.forwardRef((props, ref) => {
11462
11464
  }
11463
11465
  gridviewRef.current = api;
11464
11466
  return () => {
11467
+ gridviewRef.current = undefined;
11465
11468
  api.dispose();
11466
11469
  };
11467
11470
  }, []);
@@ -11567,6 +11570,7 @@ const PaneviewReact = React.forwardRef((props, ref) => {
11567
11570
  }
11568
11571
  paneviewRef.current = api;
11569
11572
  return () => {
11573
+ paneviewRef.current = undefined;
11570
11574
  api.dispose();
11571
11575
  };
11572
11576
  }, []);