mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
fix: 1 extra crew members
This commit is contained in:
1 parent
28de3a0283
commit
670debbe26
2 files changed
+2
-4
No files matched your search
+1
-3
@@ -454,14 +454,12 @@ export function Characteristics() {
|
||||
</Flex>
|
||||
|
||||
{tank.crew.map((member) => {
|
||||
const count = member.count ?? 1;
|
||||
|
||||
return (
|
||||
<Fragment key={member.type}>
|
||||
<InfoWithDelta
|
||||
key={`${member.type}-root`}
|
||||
name={`${CREW_MEMBER_NAMES[member.type]}${
|
||||
count > 1 ? ` x ${count}` : ''
|
||||
member.count > 1 ? ` x ${member.count}` : ''
|
||||
}`}
|
||||
unit="%"
|
||||
decimals={0}
|
||||
|
||||
Reference in new issue
Block a user