fix: return of the shuffled clone(s)

This commit is contained in:
Cory Dransfeldt 2024-06-20 15:38:42 -07:00
parent 9ca85e7351
commit 057d5f852e
No known key found for this signature in database
3 changed files with 7 additions and 4 deletions

View file

@ -32,7 +32,10 @@ export default {
},
// watching
featuredWatching: (watching, count) => shuffleArray(watching).slice(0, count),
featuredWatching: (watching, count) => {
const data = [...watching]
return shuffleArray(data).slice(0, count)
},
// dates
isoDateOnly: (date, separator) => {