mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-14 13:16:11 +01:00
feat: stop working on ranking since a lot of tanks are broken
This commit is contained in:
1 parent
385d165512
commit
a86ac0619a
3 files changed
+38
-12
No files matched your search
@@ -4,17 +4,23 @@ import { renderCharacteristic } from "../core/tankopedia/renderCharacteristic";
|
||||
|
||||
interface Props {
|
||||
characteristic: CharacteristicOutput;
|
||||
others: CharacteristicOutput[];
|
||||
config: CharacteristicRenderConfig;
|
||||
}
|
||||
|
||||
export function TankopediaCharacteristic({ characteristic, config }: Props) {
|
||||
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 / 1)
|
||||
{config.name}: {rendered} {config.units && `${config.units}`} (1 /{" "}
|
||||
{others.length})
|
||||
</p>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user