From 668912f896ff790f38b8559ec2966f3468dc0f87 Mon Sep 17 00:00:00 2001 From: ametel01 Date: Fri, 2 Feb 2024 18:31:14 +0800 Subject: [PATCH] fix --- packages/frontend/src/components/boxes/DockyardBox.tsx | 3 +-- packages/frontend/src/panels/index.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/frontend/src/components/boxes/DockyardBox.tsx b/packages/frontend/src/components/boxes/DockyardBox.tsx index 3483346..5061d5b 100755 --- a/packages/frontend/src/components/boxes/DockyardBox.tsx +++ b/packages/frontend/src/components/boxes/DockyardBox.tsx @@ -74,8 +74,7 @@ const DockyardBox = ({ ? numberWithCommas(adjustedTritium) : 0; - const shouldShowTooltip = - ['Frigate', 'Armade'].includes(title) && showTooltip; + const shouldShowTooltip = ['Armade'].includes(title) && showTooltip; const boxContent = ( diff --git a/packages/frontend/src/panels/index.ts b/packages/frontend/src/panels/index.ts index 4b1000e..98681c1 100644 --- a/packages/frontend/src/panels/index.ts +++ b/packages/frontend/src/panels/index.ts @@ -20,7 +20,7 @@ import shieldImg from '../assets/gameElements/techs/shield4.webp'; import energyTechImg from '../assets/gameElements/techs/energy4.webp'; import exoImg from '../assets/gameElements/techs/exocraft.webp'; import armadeImg from '../assets/gameElements/ships/armade_not_available.webp'; -import frigateImg from '../assets/gameElements/ships/frigate4.webp.webp'; +import frigateImg from '../assets/gameElements/ships/frigate4.webp'; import carrierImg from '../assets/gameElements/ships/carrier4.webp'; import sparrowImg from '../assets/gameElements/ships/sparrow4.webp'; import scraperImg from '../assets/gameElements/ships/scraper4.webp';