From f9c0b94ecb2a4cb585458a9e42090976283dd441 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 15 Oct 2025 23:31:13 +0300 Subject: [PATCH] fix(collection/presentation): editing no longer works --- apps/client/src/widgets/collections/presentation/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () => {