We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bd3cab commit 62b1b7fCopy full SHA for 62b1b7f
1 file changed
src/pages/VideoEditor/VideoEditorPage.tsx
@@ -377,9 +377,9 @@ const VideoEditor = () => {
377
{ key: 'mkv', label: 'MKV (H.264+AAC)' },
378
{ key: 'webm', label: 'WebM (VP9+Opus)' },
379
],
380
- onClick: ({ key }) => {
+ onClick={({ key }: { key: string }) => {
381
if (key === 'mp4' || key === 'mov' || key === 'mkv' || key === 'webm') {
382
- setOutputFormat(key);
+ state.setOutputFormat(key);
383
}
384
}},
385
}}
0 commit comments