aboutsummaryrefslogtreecommitdiff
path: root/components/anime/mobile
diff options
context:
space:
mode:
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>
</>