Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(status_bar): attribute pane not shown when adding new attribute def
Elian Doran3e50262665ec
diff --git a/apps/client/src/widgets/react/hooks.tsx b/apps/client/src/widgets/react/hooks.tsxindex 9a3b690ebc..57b8309349 100644--- a/apps/client/src/widgets/react/hooks.tsx+++ b/apps/client/src/widgets/react/hooks.tsx@@ -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(() => {