fix: types

This commit is contained in:
TrèsAbhi committed 2023-12-12 18:11:55 -06:00
1 parent 8a2dc24f7e
commit f8f88ff8f2
6 files changed
+13 -21

No files matched your search

+2 -3
View File
@@ -8,7 +8,6 @@ import { getAccountInfo } from '../core/blitz/getAccountInfo';
import { getClanAccountInfo } from '../core/blitz/getClanAccountInfo';
import getTankStats from '../core/blitz/getTankStats';
import getTreeType from '../core/blitz/getTreeType';
import resolveTankName from '../core/blitz/resolveTankName';
import {
BlitzkriegTankDefinition,
TIER_ROMAN_NUMERALS,
@@ -96,7 +95,7 @@ export const ownedTanksCommand: CommandRegistry = {
leftColumn.map(async (tank) => (
<Tanks.Item
key={tank.id}
name={await resolveTankName(tank.id)}
name={tank.name}
tankType={tank.type}
image={tankIcon(tank.id)}
treeType={await getTreeType(tank.id)}
@@ -109,7 +108,7 @@ export const ownedTanksCommand: CommandRegistry = {
rightColumn.map(async (tank) => (
<Tanks.Item
key={tank.id}
name={await resolveTankName(tank.id)}
name={tank.name}
tankType={tank.type}
image={tankIcon(tank.id)}
treeType={await getTreeType(tank.id)}