fix: a few issues

This commit is contained in:
TrèsAbhi committed 2024-02-29 15:37:04 -06:00
1 parent d496b46b6f
commit 90ec5fa80b
2 files changed
+2 -4

No files matched your search

@@ -230,11 +230,11 @@ export function ShotDisplay() {
)}hp`}
</Text>
{shot.layers.map((layer) => {
{shot.layers.map((layer, index) => {
if (layer.type === null && !explosive) return null;
return (
<Flex align="center" gap="2">
<Flex key={index} align="center" gap="2">
<Flex>
{hasMultipleLayers && (
<Text size="2" style={{ width: 16 }}>
@@ -300,8 +300,6 @@ export function SpacedArmorSceneComponent({
}
}
console.log(shot);
useTankopediaTemporary.setState({ shot });
},
})}