fix: round caliber

This commit is contained in:
tresabhi committed 2024-11-29 13:27:29 -06:00
1 parent a5df2528f6
commit e4e1903a2a
1 file changed
+4 -1
@@ -178,7 +178,10 @@ export function Options({ thicknessRange, canvas }: OptionsProps) {
}
secondaryDiscriminator={
<Text style={{ fontSize: '0.75em' }}>
{gun.gun_type!.value.base.shells[0].caliber}mm
{Math.round(
gun.gun_type!.value.base.shells[0].caliber,
)}
mm
</Text>
}
/>