optimize source changes

This commit is contained in:
Samuel Newman
2025-01-16 00:58:00 +00:00
parent 8d1ee63b36
commit df7b3004cf
+8
View File
@@ -207,6 +207,14 @@ function YoloFeed() {
}
nextPlayer.pause()
// use old array if no changes
if (
oldSources[0] === currentSources[0] &&
oldSources[1] === currentSources[1] &&
oldSources[2] === currentSources[2]
) {
return oldSources
}
return currentSources
})
})