🎥 Make videos programmatically with React
`@remotion/lottie`: Fix looping animations without a duration
Jonny Burger903a45b905e7
diff --git a/packages/lottie/src/Lottie.tsx b/packages/lottie/src/Lottie.tsxindex 4068465fc6..fa8ab925e8 100644--- a/packages/lottie/src/Lottie.tsx+++ b/packages/lottie/src/Lottie.tsx@@ -204,11 +204,7 @@ export const Lottie = ({premountingStyle,} = Internals.usePremounting({from: from ?? 0,- durationInFrames: Internals.resolveSequenceDuration({- durationInFrames,- playbackRate: undefined,- loop,- }),+ durationInFrames: durationInFrames ?? Infinity,premountFor: premountFor ?? null,postmountFor: postmountFor ?? null,style: style ?? null,@@ -223,7 +219,6 @@ export const Lottie = ({from={from}durationInFrames={durationInFrames}trimBefore={trimBefore}- loop={loop}freeze={freeze}hidden={hidden}name={name ?? '<Lottie>'}