removed debug line to force a current video
This commit is contained in:
parent
18aaeb4509
commit
7b9a675e31
4
app.js
4
app.js
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user