Merge branch 'master' of https://github.com/mathuo/dockview into 818-container-with-theme-class-is-created-twice-1

This commit is contained in:
mathuo 2025-01-11 14:34:28 +00:00
commit 3d23a2d352
No known key found for this signature in database
GPG Key ID: C6EEDEFD6CA07281

View File

@ -124,6 +124,11 @@ const DockviewDemo = (props: { theme?: string }) => {
const onReady = (event: DockviewReadyEvent) => { const onReady = (event: DockviewReadyEvent) => {
setApi(event.api); setApi(event.api);
setPanels([]);
setGroups([]);
setActivePanel(undefined);
setActiveGroup(undefined);
addLogLine(`Dockview Is Ready`);
}; };
React.useEffect(() => { React.useEffect(() => {