removed debug line to force a current video

This commit is contained in:
Benjamin Jones 2021-03-29 18:06:21 +02:00
parent 18aaeb4509
commit 7b9a675e31

4
app.js
View File

@ -23,10 +23,6 @@ export default () => {
useEffect(() => { useEffect(() => {
if (data && data.length) { if (data && data.length) {
data.forEach((stream, index) => { data.forEach((stream, index) => {
// if (stream.title === 'A Wider Screen') {
if (index === 0) {
setCurrentVideo(stream)
}
if ( if (
isWithinInterval(new Date(), { isWithinInterval(new Date(), {
start: subHours(stream.start, 1), start: subHours(stream.start, 1),