Skip to content

🎥 Make videos programmatically with React

Cleanup

Vlad M5c51678a205e
diff --git a/packages/template-ai-video/src/components/AIVideo.tsx b/packages/template-ai-video/src/components/AIVideo.tsx
index 45b49cb83f..7845fbd4b1 100644
--- a/packages/template-ai-video/src/components/AIVideo.tsx
+++ b/packages/template-ai-video/src/components/AIVideo.tsx
@@ -49,11 +49,9 @@ export const AIVideo: React.FC<z.infer<typeof aiVideoSchema>> = ({
};
}, [projectName]);
- const ready = true;
-
return (
<AbsoluteFill style={{ backgroundColor: "white" }}>
- {ready && timeline && (
+ {timeline && (
<>
<Sequence durationInFrames={IntoFrameDuration}>
<AbsoluteFill