From 9c67fd32044e9fb9e4ce6bf3470ea1cd9e094c55 Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Sun, 11 Oct 2026 00:37:39 -0500 Subject: [PATCH] a few imports --- packages/website/src/components/TankSearchFilters/index.tsx | 2 +- packages/website/src/core/awaitables/tiers.ts | 4 ++-- packages/website/src/hooks/useCharacteristics.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/website/src/components/TankSearchFilters/index.tsx b/packages/website/src/components/TankSearchFilters/index.tsx index 56831e55c..635c63c3b 100644 --- a/packages/website/src/components/TankSearchFilters/index.tsx +++ b/packages/website/src/components/TankSearchFilters/index.tsx @@ -14,9 +14,9 @@ import { ResetIcon, TrashIcon, } from "@radix-ui/react-icons"; -import { times } from "lodash-es"; import { Fragment } from "react"; import { api } from "../../api/dynamic"; +import { awaitableTiers } from "../../core/awaitables/tiers"; import { useStrings } from "../../hooks/useStrings"; import { useUnwrapper } from "../../hooks/useUnwrapper"; import { App } from "../../stores/app"; diff --git a/packages/website/src/core/awaitables/tiers.ts b/packages/website/src/core/awaitables/tiers.ts index 0729a3d45..71867cce0 100644 --- a/packages/website/src/core/awaitables/tiers.ts +++ b/packages/website/src/core/awaitables/tiers.ts @@ -1,7 +1,7 @@ import { times } from "lodash-es"; -import { api } from "../blitzkit/api"; +import { api } from "../../api/dynamic"; -export const awaitableTiers = api.tankDefinitions().then((tankDefinitions) => { +export const awaitableTiers = api.tanks().then((tankDefinitions) => { let max = 0; for (const tank of Object.values(tankDefinitions.tanks)) { diff --git a/packages/website/src/hooks/useCharacteristics.ts b/packages/website/src/hooks/useCharacteristics.ts index 56cb4ea02..1e3dedd21 100644 --- a/packages/website/src/hooks/useCharacteristics.ts +++ b/packages/website/src/hooks/useCharacteristics.ts @@ -85,7 +85,7 @@ export function computeCharacteristics( return computed.get(name)!; } - console.log(scriptsMap); + // console.log(scriptsMap); function script( side: DuelSide,