🎥 Make videos programmatically with React
fix lint errors
Jonny Burger9ec465f70333
diff --git a/packages/core/src/resolve-video-config.ts b/packages/core/src/resolve-video-config.tsindex 45dfadf681..1de7aa9dd4 100644--- a/packages/core/src/resolve-video-config.ts+++ b/packages/core/src/resolve-video-config.ts@@ -18,7 +18,7 @@ export const resolveVideoConfig = async ({? await comp.calculateMetadata({defaultProps: comp.defaultProps,props: {- ...(comp.defaultProps ?? {}),+ ...((comp.defaultProps ?? {}) as object),...(editorPropsOrUndefined ?? {}),...(getInputProps() ?? {}),},diff --git a/packages/example/src/Video.tsx b/packages/example/src/Video.tsxindex c4c38706a1..34d1adf6e2 100644--- a/packages/example/src/Video.tsx+++ b/packages/example/src/Video.tsx@@ -1,4 +1,4 @@-import {CalculateMetadataFunction, random} from 'remotion';+import {CalculateMetadataFunction} from 'remotion';import {zColor} from '@remotion/zod-types';import './style.css';import {alias} from 'lib/alias';@@ -94,7 +94,7 @@ export const Index: React.FC = () => {defaultProps={{duration: 50}}/><Composition- id="failing-dynmiac-length"+ id="failing-dynamic-length"component={DynamicDuration}width={1080}height={1080}