This commit is contained in:
parent
9ec43b9a77
commit
b3c37afa0e
@ -73,7 +73,7 @@ export default function ScoreStats({ playerScore }: Props) {
|
|||||||
.map((_, index) => <div key={`empty-${index}`} className="flex-1 min-w-[30%]"></div>)}
|
.map((_, index) => <div key={`empty-${index}`} className="flex-1 min-w-[30%]"></div>)}
|
||||||
{rowStats.map((stat) => (
|
{rowStats.map((stat) => (
|
||||||
<div key={stat.name} className="flex-1 min-w-[30%]">
|
<div key={stat.name} className="flex-1 min-w-[30%]">
|
||||||
<StatValue value={stat.create(playerScore)} />
|
{stat.create(playerScore) && <StatValue value={stat.create(playerScore)} />}
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user