fix(status_bar): attribute pane not shown when adding new attribute def

This commit is contained in:
Elian Doran 2025-12-23 23:40:16 +02:00
parent 4e5c97d548
commit 3e50262665
No known key found for this signature in database

View File

@ -635,7 +635,8 @@ export function useLegacyWidget<T extends BasicWidget>(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(() => {