Update GeneralSettings.jsx to handle 'General' panel changes

This commit is contained in:
2026-04-17 09:06:19 +02:00
parent 2cbb4544b0
commit d85a68ed3c

View File

@@ -264,7 +264,7 @@ export default function GeneralSettings({
}, [whisperModels, transcriptionModel, onTranscriptionModelChange, panel, settingsHydrated]); }, [whisperModels, transcriptionModel, onTranscriptionModelChange, panel, settingsHydrated]);
useEffect(() => { useEffect(() => {
if (panel !== 'Microphone') { if (panel !== 'General') {
return () => {}; return () => {};
} }
if (!audioInputSupported) { if (!audioInputSupported) {
@@ -588,7 +588,7 @@ export default function GeneralSettings({
); );
} }
if (panel === 'Microphone') { if (panel === 'General') {
return ( return (
<div className="settings-content-panel"> <div className="settings-content-panel">
<div className="setting-section"> <div className="setting-section">