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]);
useEffect(() => {
if (panel !== 'Microphone') {
if (panel !== 'General') {
return () => {};
}
if (!audioInputSupported) {
@@ -588,7 +588,7 @@ export default function GeneralSettings({
);
}
if (panel === 'Microphone') {
if (panel === 'General') {
return (
<div className="settings-content-panel">
<div className="setting-section">