mirror of
https://github.com/zadam/trilium.git
synced 2025-11-15 09:45:52 +01:00
fix(collection/presentation): editing no longer works
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user