remove redundant char

This commit is contained in:
tresabhi committed 2026-06-05 11:42:54 -05:00
1 parent 417b717b63
commit 152e0a6680
1 file changed
-26
@@ -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 (
<p>
{config.name}: {rendered} {config.units && `${config.units}`} (1 /{" "}
{others.length})
</p>
);
}