🎥 Make videos programmatically with React
replace .at with [] notation
Apoorv Kansalb416b79aa9f5
diff --git a/packages/renderer/src/render-media.ts b/packages/renderer/src/render-media.tsindex 3be0e399ae..4b041dd8e4 100644--- a/packages/renderer/src/render-media.ts+++ b/packages/renderer/src/render-media.ts@@ -359,7 +359,7 @@ export const renderMedia = ({slowestFrames.pop();}- minTime = slowestFrames.at(-1)?.time ?? minTime;+ minTime = slowestFrames[slowestFrames.length - 1]?.time ?? minTime;};const happyPath = createPrestitcherIfNecessary()