From 152e0a66801d28f9d72fc9fcb4cdedc921c1fef3 Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Fri, 5 Jun 2026 11:42:54 -0500 Subject: [PATCH] remove redundant char --- .../components/TankopediaCharacteristic.tsx | 26 ------------------- 1 file changed, 26 deletions(-) delete mode 100644 packages/website-ue/src/components/TankopediaCharacteristic.tsx diff --git a/packages/website-ue/src/components/TankopediaCharacteristic.tsx b/packages/website-ue/src/components/TankopediaCharacteristic.tsx deleted file mode 100644 index 052189a2e..000000000 --- a/packages/website-ue/src/components/TankopediaCharacteristic.tsx +++ /dev/null @@ -1,26 +0,0 @@ -import { renderCharacteristic } from "../hooks/useCharacteristicRenderer"; -import type { CharacteristicOutput } from "../tankopedia/characteristics"; -import type { CharacteristicRenderConfig } from "../tankopedia/characteristicsOrder"; - -interface Props { - characteristic: CharacteristicOutput; - others: CharacteristicOutput[]; - config: CharacteristicRenderConfig; -} - -export function TankopediaCharacteristic({ - characteristic, - others, - config, -}: Props) { - if (characteristic === null) return null; - - const rendered = renderCharacteristic(characteristic, config); - - return ( -
- {config.name}: {rendered} {config.units && `${config.units}`} (1 /{" "} - {others.length}) -
- ); -}