mirror of
https://github.com/zadam/trilium.git
synced 2025-12-28 02:04:26 +01:00
fix(status_bar): attribute pane not shown when adding new attribute def
This commit is contained in:
parent
4e5c97d548
commit
3e50262665
@ -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(() => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user