diff --git a/apps/client/src/widgets/collections/presentation/index.tsx b/apps/client/src/widgets/collections/presentation/index.tsx index af05d6d4d..52339dc36 100644 --- a/apps/client/src/widgets/collections/presentation/index.tsx +++ b/apps/client/src/widgets/collections/presentation/index.tsx @@ -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 () => {