diff --git a/src/components/Header/index.tsx b/src/components/Header/index.tsx index 18caff8..1103426 100644 --- a/src/components/Header/index.tsx +++ b/src/components/Header/index.tsx @@ -50,7 +50,7 @@ function Header() {
{x.row_number}.{x.name}
+{x.critic_score.Valid ? Number(x.critic_score.Int32) / Number(x.critic_count) * 10 : "N/A"}
{x.critic_count} reviews
{x.user_score.Valid ? x.user_score.Int32 : "N/A" }