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(collection/presentation): editing no longer works
Elian Doranf9c0b94ecb2a
diff --git a/apps/client/src/widgets/collections/presentation/index.tsx b/apps/client/src/widgets/collections/presentation/index.tsxindex af05d6d4d0..52339dc36a 100644--- a/apps/client/src/widgets/collections/presentation/index.tsx+++ b/apps/client/src/widgets/collections/presentation/index.tsx@@ -96,9 +96,9 @@ function Presentation({ presentation, apiRef: externalApiRef } : { presentation:return true;},});- externalApiRef.current = apiRef.current;api.initialize().then(() => {apiRef.current = api;+ externalApiRef.current = api;});return () => {