From 89ef24c4a2bd64dc4a518029314bf8e0fe3d5b11 Mon Sep 17 00:00:00 2001 From: Kacper Maj <60718448+kapisolec@users.noreply.github.com> Date: Wed, 27 Jan 2021 22:10:34 +0100 Subject: [PATCH] bugfixes + full synchro w/o button --- src/utils/videos.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/videos.js b/src/utils/videos.js index 4a8932f..a91ba42 100644 --- a/src/utils/videos.js +++ b/src/utils/videos.js @@ -1,6 +1,7 @@ const videos = []; const addVideo = ({ room, videoID }) => { + if (videoID === 'ttps://www.youtube.com/watch') return; const videoIsTheSame = videos.find((obj) => obj.videoID === videoID); if (videoIsTheSame) return; const index = videos.findIndex((object) => object.room === room);