mirror of
https://github.com/zadam/trilium.git
synced 2025-10-19 14:49:01 +02:00
fix(collection/presentation): editing no longer works
This commit is contained in:
parent
be076a6609
commit
f9c0b94ecb
@ -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 () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user