Skip to content

🎥 Make videos programmatically with React

empty line

Jonny Burger6f6a92dd367b
diff --git a/packages/bundler/src/renderEntry.tsx b/packages/bundler/src/renderEntry.tsx
index f9d33568b5..a1188bf059 100644
--- a/packages/bundler/src/renderEntry.tsx
+++ b/packages/bundler/src/renderEntry.tsx
@@ -56,6 +56,7 @@ const GetVideo = () => {
'Found no composition with the name ' + Internals.getCompositionName()
);
}
+
compositions.setCurrentComposition(foundComposition?.id ?? null);
}
}, [compositions, compositions.compositions, video]);