Skip to content

🎥 Make videos programmatically with React

Update index.tsx

Jonny Burger90748bec6fa3
diff --git a/packages/core/src/series/index.tsx b/packages/core/src/series/index.tsx
index bde25c9681..e912c2c824 100644
--- a/packages/core/src/series/index.tsx
+++ b/packages/core/src/series/index.tsx
@@ -57,7 +57,10 @@ const Series: FC & {
children: _children,
...passedProps
} = castedChild.props;
- validateDurationInFrames(durationInFramesProp, `<Series.Sequence />`);
+ validateDurationInFrames(
+ durationInFramesProp,
+ `of a <Series.Sequence /> component`
+ );
const offset = castedChild.props.offset ?? 0;
if (Number.isNaN(offset)) {
throw new TypeError(