Undid a unnecessary change

This commit is contained in:
Zohaib Rauf 2024-09-09 21:59:13 -07:00
parent 62b01c5f8e
commit 91cd8c7608

View File

@ -54,7 +54,7 @@
const devices = await navigator.mediaDevices.enumerateDevices();
videoInputDevices = devices.filter((device) => device.kind === 'videoinput');
if (navigator.mediaDevices.getDisplayMedia) {
if (!!navigator.mediaDevices.getDisplayMedia) {
videoInputDevices = [
...videoInputDevices,
{