mirror of
https://github.com/zadam/trilium.git
synced 2026-05-06 23:56:55 +02:00
fix(status_bar): attribute pane not shown when adding new attribute def
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user