bugfixes + full synchro w/o button
This commit is contained in:
parent
2e2f4c808f
commit
89ef24c4a2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user