From 1d947399aba2c9b137557b8685ffc3037baf9e2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com>
Date: Sat, 20 Apr 2024 11:43:15 -0500
Subject: [PATCH] fix: intra-clip for auto loaders
---
.../[id]/components/Characteristics/index.tsx | 23 +++++++++----------
1 file changed, 11 insertions(+), 12 deletions(-)
diff --git a/src/app/tools/tankopedia/[id]/components/Characteristics/index.tsx b/src/app/tools/tankopedia/[id]/components/Characteristics/index.tsx
index e77c3e782..868185af3 100644
--- a/src/app/tools/tankopedia/[id]/components/Characteristics/index.tsx
+++ b/src/app/tools/tankopedia/[id]/components/Characteristics/index.tsx
@@ -218,18 +218,17 @@ export function Characteristics() {
{stats.shellReload!}
)}
- {gun.type === 'autoLoader' ||
- (gun.type === 'autoReloader' && (
-
- {stats.intraClip!}
-
- ))}
+ {(gun.type === 'autoLoader' || gun.type === 'autoReloader') && (
+
+ {stats.intraClip!}
+
+ )}
{stats.caliber}