From 80d340801c0f99a89cf7df55b9b994f6fe3dd8ed Mon Sep 17 00:00:00 2001 From: svetlagasheva Date: Tue, 5 May 2020 14:34:03 +0300 Subject: [PATCH] unnecessary withSeason func removed --- src/common/deepLinking.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/common/deepLinking.js b/src/common/deepLinking.js index 1ac1ef7e9..beff1431a 100644 --- a/src/common/deepLinking.js +++ b/src/common/deepLinking.js @@ -48,13 +48,6 @@ const withLibItem = ({ libItem, streams = {} }) => { }; }; -const withSeason = ({ season, type, id }) => { - const queryParams = new URLSearchParams([['season', season]]); - return { - meta_details_videos_season: `#/metadetails/${encodeURIComponent(type)}/${encodeURIComponent(id)}?${queryParams.toString()}` - }; -}; - const withVideo = ({ video, metaTransportUrl, metaItem, streams = {} }) => { const [stream, streamTransportUrl] = typeof streams[`${encodeURIComponent(metaItem.id)}/${encodeURIComponent(video.id)}`] === 'object' ? streams[`${encodeURIComponent(metaItem.id)}/${encodeURIComponent(video.id)}`] @@ -92,7 +85,6 @@ module.exports = { withCatalog, withMetaItem, withLibItem, - withSeason, withVideo, withStream, serializeStream,