Skip to content

Commit 45799cc

Browse files
authored
remove unused code (#75)
1 parent 51394af commit 45799cc

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

ui/src/components/settings.tsx

-10
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,6 @@ function ConfigForm({ config, onSubmit }: ConfigFormProps) {
176176
toast.error("Failed to get video devices", {
177177
description: "Please make sure your camera is connected and enabled.",
178178
});
179-
180-
// If we can't access video devices, still provide the None option
181-
const videoDevices = [{ deviceId: "none", label: "No Video" }];
182-
setVideoDevices(videoDevices);
183-
setSelectedVideoDevice("none");
184179
}
185180
}, []);
186181

@@ -208,11 +203,6 @@ function ConfigForm({ config, onSubmit }: ConfigFormProps) {
208203
toast.error("Failed to get audio devices", {
209204
description: "Please make sure your microphone is connected and enabled.",
210205
});
211-
212-
// If we can't access audio devices, still provide the None option
213-
const audioDevices = [{ deviceId: "none", label: "No Audio" }];
214-
setAudioDevices(audioDevices);
215-
setSelectedAudioDevice("none");
216206
}
217207
}, []);
218208

0 commit comments

Comments
 (0)