From 10fd5778dc5fc78bfa334d1b9090fb9f6e106877 Mon Sep 17 00:00:00 2001 From: zaxer2 Date: Fri, 3 Jan 2025 13:24:28 -0500 Subject: [PATCH] Copying Sandbox change to corresponding Template see prev. commit --- .../docs/templates/dockview/demo-dockview/react/src/app.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/docs/templates/dockview/demo-dockview/react/src/app.tsx b/packages/docs/templates/dockview/demo-dockview/react/src/app.tsx index 3ab3066da..befc23f44 100644 --- a/packages/docs/templates/dockview/demo-dockview/react/src/app.tsx +++ b/packages/docs/templates/dockview/demo-dockview/react/src/app.tsx @@ -124,6 +124,11 @@ const DockviewDemo = (props: { theme?: string }) => { const onReady = (event: DockviewReadyEvent) => { setApi(event.api); + setPanels([]); + setGroups([]); + setActivePanel(undefined); + setActiveGroup(undefined); + addLogLine(`Dockview Is Ready`); }; React.useEffect(() => {