checkpoint

This commit is contained in:
tresabhi committed 2026-09-23 15:36:22 -05:00
1 parent a38239a6f9
commit 1619ee1e00
3 files changed
+2 -4

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
import { GameDefinitions, TankDefinition } from "@blitzkit/protos";
import { tankClassOrder } from "../config/tankClassOrder";
import { treeTypeOrder } from "../config/treeTypeOrder";
import { treeTypeOrder } from "./treeTypeOrder";
export function metaSortTank(
tanks: TankDefinition[],
@@ -13,9 +13,7 @@ interface Props {
const { locale, tool, minor } = Astro.props;
const strings = await api.strings(locale);
const toolStrings =
strings.website.tools[
(tool.strings ?? tool.id) as keyof typeof strings.website.tools
];
strings.website.tools[tool.id as keyof typeof strings.website.tools];
---
<style>