Skip to content

🎥 Make videos programmatically with React

Fix formatting

ASchwad919cb2352a5e
diff --git a/packages/template-prompt-to-motion-graphics/src/components/AnimationPlayer/RenderControls/index.tsx b/packages/template-prompt-to-motion-graphics/src/components/AnimationPlayer/RenderControls/index.tsx
index 1814ffc867..c8aa0ca11a 100644
--- a/packages/template-prompt-to-motion-graphics/src/components/AnimationPlayer/RenderControls/index.tsx
+++ b/packages/template-prompt-to-motion-graphics/src/components/AnimationPlayer/RenderControls/index.tsx
@@ -13,7 +13,11 @@ export const RenderControls: React.FC<{
durationInFrames: number;
fps: number;
}> = ({ code, durationInFrames, fps }) => {
- const { renderMedia, state, undo } = useRendering({ code, durationInFrames, fps });
+ const { renderMedia, state, undo } = useRendering({
+ code,
+ durationInFrames,
+ fps,
+ });
const previousPropsRef = useRef({ code, durationInFrames, fps });
// Reset rendering state when code, duration, or fps changes