From e1fdab42c0e060e8177d0c95fc1e765c7720bbe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Fri, 9 Feb 2024 23:35:24 -0600 Subject: [PATCH] fix: default listing --- .../[id]/components/Characteristics/index.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/app/tools/tankopedia/[id]/components/Characteristics/index.tsx b/src/app/tools/tankopedia/[id]/components/Characteristics/index.tsx index 60036d41a..4abe8dcf4 100644 --- a/src/app/tools/tankopedia/[id]/components/Characteristics/index.tsx +++ b/src/app/tools/tankopedia/[id]/components/Characteristics/index.tsx @@ -40,7 +40,7 @@ export function Characteristics() { stockTrack.weight + stockTurret.weight + stockGun.weight; - const [penetrationDistance, setPenetrationDistance] = useState(0); + const [penetrationDistance, setPenetrationDistance] = useState(250); const hasRammer = useEquipment(100); const hasCalibratedShells = useEquipment(103); const hasEnhancedGunLayingDrive = useEquipment(104); @@ -228,6 +228,14 @@ export function Characteristics() { )} {typeof shell.penetration !== 'number' && ( <> + + {shell.penetration[0]} +