Store lists as Sets

This commit is contained in:
Sam Carlton 2021-01-22 23:14:44 -06:00
parent c7d39dd9f2
commit 1f5f47eab4
10 changed files with 30 additions and 38 deletions

View file

@ -82,7 +82,7 @@ export default {
const app = appList.find(app => (app.slug === slug))
const relatedVideos = videosRelatedToApp( app, videoList )
const relatedVideos = videosRelatedToApp( app, (new Set(videoList)) )
// Find other videos that also feature this video's app
// for (const video of videoList) {