Prevent auto checking of audio devices

This commit is contained in:
jeffvli 2023-03-31 05:42:03 -07:00
parent 5f7b005626
commit 6ccef6e515

View file

@ -56,8 +56,10 @@ export const AudioSettings = () => {
.catch(() => toast.error({ message: 'Error fetching audio devices' }));
};
if (settings.type === PlaybackType.WEB) {
getAudioDevices();
}, []);
}
}, [settings.type]);
const audioOptions: SettingOption[] = [
{