From 8f098d435a758fb834f65308f82b8466b94047d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com>
Date: Mon, 12 Feb 2024 19:27:50 -0600
Subject: [PATCH] fix: penetration deltas
---
.../[id]/components/Characteristics/index.tsx | 23 +++----------------
1 file changed, 3 insertions(+), 20 deletions(-)
diff --git a/src/app/tools/tankopedia/[id]/components/Characteristics/index.tsx b/src/app/tools/tankopedia/[id]/components/Characteristics/index.tsx
index 920be0ce2..f7277c98b 100644
--- a/src/app/tools/tankopedia/[id]/components/Characteristics/index.tsx
+++ b/src/app/tools/tankopedia/[id]/components/Characteristics/index.tsx
@@ -183,28 +183,11 @@ export function Characteristics() {
{shell.caliber}
- {typeof shell.penetration !== 'number' && (
-
- )}
- {typeof shell.penetration === 'number' && (
-
- {resolveNearPenetration(shell.penetration) * calibratedShellsBonus}
-
- )}
+
+ {resolveNearPenetration(shell.penetration) * calibratedShellsBonus}
+
{typeof shell.penetration !== 'number' && (
<>
-
- {shell.penetration[0] * calibratedShellsBonus}
-