fix(collection/presentation): sync not called properly

This commit is contained in:
Elian Doran 2025-10-17 21:37:08 +03:00
parent 9403ea2028
commit ceedcb1a2c
No known key found for this signature in database

View File

@ -137,7 +137,7 @@ function Presentation({ presentation, setApi } : { presentation: PresentationMod
},
});
api.initialize().then(() => {
setRevealApi(revealApi);
setRevealApi(api);
setApi(api);
});