fix(collection/presentation): editing no longer works

This commit is contained in:
Elian Doran 2025-10-15 23:31:13 +03:00
parent be076a6609
commit f9c0b94ecb
No known key found for this signature in database

View File

@ -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 () => {