Skip to content

🎥 Make videos programmatically with React

Make `<Sequence>` `name` work with `premountFor`

Jonny Burger178b092e2fbd
diff --git a/packages/core/src/Sequence.tsx b/packages/core/src/Sequence.tsx
index 5db611a1da..9c1701de40 100644
--- a/packages/core/src/Sequence.tsx
+++ b/packages/core/src/Sequence.tsx
@@ -281,13 +281,7 @@ const PremountedSequenceRefForwardingFunction: React.ForwardRefRenderFunction<
);
}
- const {
- style: passedStyle,
- from = 0,
- premountFor = 0,
- name,
- ...otherProps
- } = props;
+ const {style: passedStyle, from = 0, premountFor = 0, ...otherProps} = props;
const premountingActive = frame < from && frame >= from - premountFor;