feat: move crew count

This commit is contained in:
TrèsAbhi committed 2024-10-26 13:44:39 -05:00
1 parent 98797a6cf5
commit b3d206b0ae
1 file changed
+4 -3
@@ -453,6 +453,10 @@ export function Characteristics() {
</Popover.Root> </Popover.Root>
</Flex> </Flex>
<InfoWithDelta name="Crew count" decimals={0}>
{stats.crewCount}
</InfoWithDelta>
{tank.crew.map((member) => { {tank.crew.map((member) => {
return ( return (
<Fragment key={member.type}> <Fragment key={member.type}>
@@ -579,9 +583,6 @@ export function Characteristics() {
<InfoWithDelta name="Health" unit="hp" decimals={0}> <InfoWithDelta name="Health" unit="hp" decimals={0}>
{stats.health} {stats.health}
</InfoWithDelta> </InfoWithDelta>
<InfoWithDelta name="Crew count" decimals={0}>
{stats.crewCount}
</InfoWithDelta>
<InfoWithDelta <InfoWithDelta
name="Fire chance" name="Fire chance"
unit="%" unit="%"