mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-12-11 16:21:04 -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">
|
<section className="playlist-videos">
|
||||||
{playlistVideos
|
{playlistVideos
|
||||||
.sort(
|
|
||||||
(firstVideo, secondVideo) =>
|
|
||||||
new Date(firstVideo.publishedAt).getTime() <
|
|
||||||
new Date(secondVideo.publishedAt).getTime()
|
|
||||||
)
|
|
||||||
.map(video => (
|
.map(video => (
|
||||||
<YoutubeVideoButton
|
<YoutubeVideoButton
|
||||||
key={video.videoId}
|
key={video.videoId}
|
||||||
|
|
Loading…
Reference in a new issue