mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
keys
This commit is contained in:
1 parent
3299ce069e
commit
f16e508e59
3 files changed
+20
-14
No files matched your search
@@ -29,7 +29,13 @@ export function TankopediaCharacteristics({
|
||||
|
||||
if (!shouldRender) return null;
|
||||
|
||||
return <Group group={group} characteristics={characteristics} />;
|
||||
return (
|
||||
<Group
|
||||
key={group.name}
|
||||
group={group}
|
||||
characteristics={characteristics}
|
||||
/>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
@@ -65,9 +71,9 @@ function Group({ group, characteristics }: GroupProps) {
|
||||
{
|
||||
(
|
||||
strings.tanks.characteristics.titles as Record<string, string>
|
||||
)[group.group]
|
||||
)[group.name]
|
||||
}
|
||||
<img src={`/media/groups/${group.group}.png`} />
|
||||
<img src={`/media/groups/${group.name}.png`} />
|
||||
</div>
|
||||
</Heading>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user