Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/mathuo/dockview into 818-…
Browse files Browse the repository at this point in the history
…container-with-theme-class-is-created-twice-1
  • Loading branch information
mathuo committed Jan 11, 2025
2 parents c122bfd + c7c1ae9 commit 3d23a2d
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down

0 comments on commit 3d23a2d

Please sign in to comment.