feat: no angled value for external

This commit is contained in:
TrèsAbhi committed 2024-02-02 17:03:49 -06:00
1 parent 3a99205194
commit 44f00e042e
1 file changed
+6 -4
+6 -4
View File
@@ -73,10 +73,12 @@ export function ShotDisplay() {
<NominalPenetration width={24} height={24} />
<Text>{nominal}mm</Text>
</Flex>
<Flex gap="1">
<AngledPenetration width={24} height={24} />
<Text>{Math.round(angled)}mm</Text>
</Flex>
{type !== 'external' && (
<Flex gap="1">
<AngledPenetration width={24} height={24} />
<Text>{Math.round(angled)}mm</Text>
</Flex>
)}
</Flex>
))}
</Flex>