mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-12-12 00:31:11 -05:00
refactor: [UEPR-116] removed video ordering
This commit is contained in:
parent
c9405ffafb
commit
8d205d6ff3
1 changed files with 0 additions and 5 deletions
|
@ -41,11 +41,6 @@ export const YoutubePlaylistItem = ({playlistRequestUri, playlistTitleId, onSele
|
|||
) : (
|
||||
<section className="playlist-videos">
|
||||
{playlistVideos
|
||||
.sort(
|
||||
(firstVideo, secondVideo) =>
|
||||
new Date(firstVideo.publishedAt).getTime() <
|
||||
new Date(secondVideo.publishedAt).getTime()
|
||||
)
|
||||
.map(video => (
|
||||
<YoutubeVideoButton
|
||||
key={video.videoId}
|
||||
|
|
Loading…
Reference in a new issue