Solved a bug
This commit is contained in:
@@ -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",
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
|
|||||||
Reference in New Issue
Block a user