From 6b2062c53644b723825e06418fbebb4999aae1d7 Mon Sep 17 00:00:00 2001 From: Shivan Samala <112183968+shivan2004@users.noreply.github.com> Date: Sat, 8 Jun 2024 13:29:03 +0530 Subject: [PATCH] updated typo for ep2 --- src/components/Pages/RequestEpisode.jsx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/components/Pages/RequestEpisode.jsx b/src/components/Pages/RequestEpisode.jsx index a0a4412b..b810ecad 100644 --- a/src/components/Pages/RequestEpisode.jsx +++ b/src/components/Pages/RequestEpisode.jsx @@ -54,6 +54,17 @@ const RequestEpisode = (props) => { setProgress(80); let trimData = segregate(URL); let nextTrimData = nextURL ? segregate(nextURL) : { title: 'No more episodes available,', content: 'this is the finale' }; + + // Special case for episode 2 + if (episodeNumber === 2) { + trimData.content = 'गुलामी से मुक्ति'; + } + + // Special case for episode 1 up next + if (episodeNumber === 1 && nextTrimData.title.includes('Ep 02')) { + nextTrimData.content = 'गुलामी से मुक्ति'; + } + setContent(trimData.content); setUrl(trimData.url); setNextTitle(nextTrimData.title); @@ -87,7 +98,7 @@ const RequestEpisode = (props) => { {nextTitle && nextContent && (
{nextTitle} {nextContent}
+{nextTitle} {nextContent}