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): sync not called properly
Elian Doranceedcb1a2cbe
diff --git a/apps/client/src/widgets/collections/presentation/index.tsx b/apps/client/src/widgets/collections/presentation/index.tsxindex 119d4e7b05..5fe8f94ff6 100644--- a/apps/client/src/widgets/collections/presentation/index.tsx+++ b/apps/client/src/widgets/collections/presentation/index.tsx@@ -137,7 +137,7 @@ function Presentation({ presentation, setApi } : { presentation: PresentationMod},});api.initialize().then(() => {- setRevealApi(revealApi);+ setRevealApi(api);setApi(api);});