🎥 Make videos programmatically with React
Update ConvertProgress.tsx
Jonny Burger8b36dad31d65
diff --git a/packages/convert/app/components/ConvertProgress.tsx b/packages/convert/app/components/ConvertProgress.tsxindex 3694f6918b..344c504368 100644--- a/packages/convert/app/components/ConvertProgress.tsx+++ b/packages/convert/app/components/ConvertProgress.tsx@@ -1,8 +1,8 @@-import {ConvertMediaState} from '@remotion/webcodecs';+import {ConvertMediaContainer, ConvertMediaState} from '@remotion/webcodecs';import React, {createRef} from 'react';import {formatBytes} from '~/lib/format-bytes';import {formatSeconds} from '~/lib/format-seconds';-import {Container, getNewName} from '~/lib/generate-new-name';+import {getNewName} from '~/lib/generate-new-name';import {Card} from './ui/card';import {Skeleton} from './ui/skeleton';import {VideoThumbnail, VideoThumbnailRef} from './VideoThumbnail';@@ -12,7 +12,7 @@ export const convertProgressRef = createRef<VideoThumbnailRef>();export const ConvertProgress: React.FC<{readonly state: ConvertMediaState;readonly name: string | null;- readonly container: Container;+ readonly container: ConvertMediaContainer;}> = ({state, name, container}) => {return (<>