mirror of
https://github.com/zadam/trilium.git
synced 2025-10-19 06:38:59 +02:00
fix(collection/presentation): sync not called properly
This commit is contained in:
parent
9403ea2028
commit
ceedcb1a2c
@ -137,7 +137,7 @@ function Presentation({ presentation, setApi } : { presentation: PresentationMod
|
||||
},
|
||||
});
|
||||
api.initialize().then(() => {
|
||||
setRevealApi(revealApi);
|
||||
setRevealApi(api);
|
||||
setApi(api);
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user