aboutsummaryrefslogtreecommitdiff
path: root/components/anime/mobile
diff options
context:
space:
mode:
authorFactiven <[email protected]>2023-08-08 13:16:55 +0700
committerGitHub <[email protected]>2023-08-08 13:16:55 +0700
commit35f50ea6ba56ceb839ff96eb289df53771e23a61 (patch)
tree2fb5101a4bf6a3fd01d58037b5156b602d186e41 /components/anime/mobile
parentDockerfile for building moopa (#34) (diff)
downloadmoopa-35f50ea6ba56ceb839ff96eb289df53771e23a61.tar.xz
moopa-35f50ea6ba56ceb839ff96eb289df53771e23a61.zip
Update v3.8.7 - Merged Beta to Main (#39)
* Update v3.8.6 > Minor update for Android 13 user * Update v3.8.7 > Added prev and next button to mediaSession
Diffstat (limited to 'components/anime/mobile')
-rw-r--r--components/anime/mobile/topSection.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/anime/mobile/topSection.js b/components/anime/mobile/topSection.js
index 4f7c4b3..e9c9c7d 100644
--- a/components/anime/mobile/topSection.js
+++ b/components/anime/mobile/topSection.js
@@ -60,14 +60,14 @@ export default function DetailTop({ info, statuses, handleOpen, loading }) {
</div>
<div className="flex-center flex-col xxs:flex-row gap-2">
<ArrowTrendingUpIcon className="w-5 h-5 text-action" />
- <h4>{info?.averageScore}%</h4>
+ <h4>{info?.averageScore ? `${info?.averageScore}%` : "N/A"}</h4>
</div>
<div className="flex-center flex-col xxs:flex-row gap-2">
<RectangleStackIcon className="w-5 h-5 text-action" />
{info?.episodes ? (
<h1>{info?.episodes} Episodes</h1>
) : (
- <h1>TBA</h1>
+ <h1>N/A</h1>
)}
</div>
</>