Skip to content

The swiss army knife of lossless video/audio editing

fix warning

Mikael Finstad642d34837391
diff --git a/src/renderer.jsx b/src/renderer.jsx
index 733c3768..bd906aea 100644
--- a/src/renderer.jsx
+++ b/src/renderer.jsx
@@ -1342,7 +1342,7 @@ const App = memo(() => {
const renderOutFmt = useCallback((props) => (
// eslint-disable-next-line react/jsx-props-no-spreading
- <Select defaultValue="" value={fileFormat} title="Output format" onChange={withBlur(e => setFileFormat(e.target.value))} {...props}>
+ <Select value={fileFormat || ''} title="Output format" onChange={withBlur(e => setFileFormat(e.target.value))} {...props}>
<option key="disabled1" value="" disabled>Format</option>
{detectedFileFormat && (