Skip to content

Commit

Permalink
remove unused code (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliteprox authored Feb 21, 2025
1 parent 51394af commit 45799cc
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions ui/src/components/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,6 @@ function ConfigForm({ config, onSubmit }: ConfigFormProps) {
toast.error("Failed to get video devices", {
description: "Please make sure your camera is connected and enabled.",
});

// If we can't access video devices, still provide the None option
const videoDevices = [{ deviceId: "none", label: "No Video" }];
setVideoDevices(videoDevices);
setSelectedVideoDevice("none");
}
}, []);

Expand Down Expand Up @@ -208,11 +203,6 @@ function ConfigForm({ config, onSubmit }: ConfigFormProps) {
toast.error("Failed to get audio devices", {
description: "Please make sure your microphone is connected and enabled.",
});

// If we can't access audio devices, still provide the None option
const audioDevices = [{ deviceId: "none", label: "No Audio" }];
setAudioDevices(audioDevices);
setSelectedAudioDevice("none");
}
}, []);

Expand Down

0 comments on commit 45799cc

Please sign in to comment.