From 8d205d6ff387d70b9777c46d624847faa995e52e Mon Sep 17 00:00:00 2001 From: MiroslavDionisiev Date: Wed, 4 Dec 2024 13:30:59 +0200 Subject: [PATCH] refactor: [UEPR-116] removed video ordering --- .../youtube-playlist-item/youtube-playlist-item.jsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/components/youtube-playlist-item/youtube-playlist-item.jsx b/src/components/youtube-playlist-item/youtube-playlist-item.jsx index 5a57a1248..74ae82456 100644 --- a/src/components/youtube-playlist-item/youtube-playlist-item.jsx +++ b/src/components/youtube-playlist-item/youtube-playlist-item.jsx @@ -41,11 +41,6 @@ export const YoutubePlaylistItem = ({playlistRequestUri, playlistTitleId, onSele ) : (
{playlistVideos - .sort( - (firstVideo, secondVideo) => - new Date(firstVideo.publishedAt).getTime() < - new Date(secondVideo.publishedAt).getTime() - ) .map(video => (