From 3e50262665ec820dbee109dcb1fde46dc3c15ed2 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Tue, 23 Dec 2025 23:40:16 +0200 Subject: [PATCH] fix(status_bar): attribute pane not shown when adding new attribute def --- apps/client/src/widgets/react/hooks.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/client/src/widgets/react/hooks.tsx b/apps/client/src/widgets/react/hooks.tsx index 9a3b690eb..57b830934 100644 --- a/apps/client/src/widgets/react/hooks.tsx +++ b/apps/client/src/widgets/react/hooks.tsx @@ -635,7 +635,8 @@ export function useLegacyWidget(widgetFactory: () => T, { const renderedWidget = widget.render(); return [ widget, renderedWidget ]; - }, [ noteContext, parentComponent, widgetFactory]); + }, [ noteContext, parentComponent ]); // eslint-disable-line react-hooks/exhaustive-deps + // widgetFactory() is intentionally left out // Attach the widget to the parent. useEffect(() => {