Update ScreenSharePicker.tsx

remove unneeded comment
This commit is contained in:
kaitlynkitty 2024-04-14 14:28:49 -04:00 committed by GitHub
parent cb8601b38e
commit 3fdc55a47e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -449,8 +449,6 @@ function ModalComponent({
disabled={!selected} disabled={!selected}
onClick={() => { onClick={() => {
currentSettings = settings; currentSettings = settings;
// If there are 2 connections, the second one is the existing stream.
// In that case, we patch its quality
try { try {
var conn = [...MediaEngineStore.getMediaEngine().connections].find( var conn = [...MediaEngineStore.getMediaEngine().connections].find(
connection => connection.streamUserId === UserStore.getCurrentUser().id connection => connection.streamUserId === UserStore.getCurrentUser().id