diff --git a/packages/frontend/core/src/modules/app-sidebar/views/index.tsx b/packages/frontend/core/src/modules/app-sidebar/views/index.tsx index c74adfd11e9d3..4bdf91342921b 100644 --- a/packages/frontend/core/src/modules/app-sidebar/views/index.tsx +++ b/packages/frontend/core/src/modules/app-sidebar/views/index.tsx @@ -90,6 +90,7 @@ export function AppSidebar({ children }: PropsWithChildren) { } const dOnResize = debounce(onResize, 50); + onResize(); window.addEventListener('resize', dOnResize); return () => { window.removeEventListener('resize', dOnResize);