mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 20:19:49 +02:00
feat: change tier weights to arabic numerals
This commit is contained in:
1 parent
d062a0da1b
commit
59bae96c1b
1 file changed
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
import { TIER_ROMAN_NUMERALS, Tier } from '../core/blitz/tankopedia';
|
import { Tier } from '../core/blitz/tankopedia';
|
||||||
import { theme } from '../stitches.config';
|
import { theme } from '../stitches.config';
|
||||||
|
|
||||||
export type TierWeightsRecord = Partial<Record<Tier, number>>;
|
export type TierWeightsRecord = Partial<Record<Tier, number>>;
|
||||||
@@ -26,7 +26,7 @@ export default function TierWeights({ weights }: TierWeightsProps) {
|
|||||||
minWidth: 16,
|
minWidth: 16,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{TIER_ROMAN_NUMERALS[parseInt(tier) as Tier]}
|
{tier}
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user