Solved a bug

This commit is contained in:
Tiago Ribeiro
2024-01-21 20:20:08 +00:00
parent da93b79c78
commit c7f303e410

View File

@@ -178,7 +178,7 @@ export default function Stats() {
}, },
{ {
icon: <BsStar className="w-6 h-6 md:w-8 md:h-8 text-mti-red-light" />, icon: <BsStar className="w-6 h-6 md:w-8 md:h-8 text-mti-red-light" />,
value: `${stats.length > 0 ? averageScore(userStats) : 0}%`, value: `${userStats.length > 0 ? averageScore(userStats) : 0}%`,
label: "Average Score", label: "Average Score",
}, },
]} ]}