diff --git a/src/commands/ownedTanks.tsx b/src/commands/ownedTanks.tsx index 16fa9fd85..6b6878ab9 100644 --- a/src/commands/ownedTanks.tsx +++ b/src/commands/ownedTanks.tsx @@ -127,17 +127,3 @@ export const ownedTanksCommand: CommandRegistry = { autocomplete: autocompleteUsername, }; - -// TODO: make this work in the future -// console.log('Caching tank images...'); -// TANKS.then((tanks) => -// jsxToSvg( -//
-// {tanks.map(({ images, tank_id }) => { -// return ( -// images.normal && -// ); -// })} -//
, -// ), -// ).then(() => console.log('Cached tank images')); diff --git a/src/components/GenericAllStats/index.tsx b/src/components/GenericAllStats/index.tsx index 3304b780e..21cbee368 100644 --- a/src/components/GenericAllStats/index.tsx +++ b/src/components/GenericAllStats/index.tsx @@ -1,12 +1,10 @@ import { AllStats, SupplementaryStats } from '../../core/blitz/getAccountInfo'; -import getWN8Percentile from '../../core/statistics/getWN8Percentile'; import isNumber from '../../core/math/isNumber'; +import getWN8Percentile from '../../core/statistics/getWN8Percentile'; import { Card } from './components/Card'; import { Root } from './components/Root'; import { Row } from './components/Row'; -// TODO: remove the .js endings - export interface GenericAllStatsProps { stats: AllStats; supplementaryStats?: SupplementaryStats; diff --git a/src/core/blitz/getClanAccountInfo.ts b/src/core/blitz/getClanAccountInfo.ts index 9fee45c89..db534c432 100644 --- a/src/core/blitz/getClanAccountInfo.ts +++ b/src/core/blitz/getClanAccountInfo.ts @@ -32,7 +32,7 @@ export async function getClanAccountInfo< : IndividualClanAccountInfo[], >(region: Region, ids: Ids, extra?: string[]) { const object = await fetchBlitz( - `https://api.wotblitz.${region}/wotb/clans/info/?application_id=${WARGAMING_APPLICATION_ID}&account_id=${normalizeIds( + `https://api.wotblitz.${region}/wotb/clans/info/?application_id=${WARGAMING_APPLICATION_ID}&clan_id=${normalizeIds( ids, )}${normalizeExtra(extra)}`, );