Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ui): remove unused ui select option code #75

Merged
merged 1 commit into from
Feb 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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