update (3)

This commit is contained in:
tresabhi committed 2026-08-01 14:54:40 -05:00
1 parent d41d45abae
commit ed92440b94
14 files changed
+61 -94

No files matched your search

@@ -1,12 +1,8 @@
import {
asset,
fetchTankDefinitions,
TankType,
type TankDefinition,
} from "@blitzkit/core";
import { asset, TankType, type TankDefinition } from "@blitzkit/core";
import { Flex, Text, type TextProps } from "@radix-ui/themes";
import { uniq } from "lodash-es";
import { forwardRef, type ReactNode } from "react";
import { api } from "../../core/blitzkit/api";
import { useLocale } from "../../hooks/useLocale";
import { TankopediaPersistent } from "../../stores/tankopediaPersistent";
import { classIcons } from "../ClassIcon";
@@ -21,7 +17,7 @@ type TankCardProps = TextProps & {
noLink?: boolean;
};
const tankDefinitions = await fetchTankDefinitions();
const tankDefinitions = await api.tankDefinitions();
export const TankCard = forwardRef<HTMLSpanElement, TankCardProps>(
(