fix: some linting for new proto 2

This commit is contained in:
TrèsAbhi committed 2024-10-05 15:57:34 -05:00
1 parent 94f67e30f1
commit 79bc259565
22 files changed
+183 -163

No files matched your search

@@ -1,4 +1,4 @@
import { type TankDefinition, tankIcon } from '@blitzkit/core';
import { type TankDefinition, tankIcon, TankType } from '@blitzkit/core';
import { Link } from '@radix-ui/themes';
import { classIcons } from './ClassIcon';
import { ExperimentIcon } from './ExperimentIcon';
@@ -32,13 +32,13 @@ export function TankRowHeaderCell({ tank }: TankRowHeaderCellProps) {
<Link
color={
tank.treeType === 'collector'
tank.type === TankType.COLLECTOR
? 'blue'
: tank.treeType === 'premium'
: tank.type === TankType.PREMIUM
? 'amber'
: 'gray'
}
highContrast={tank.treeType === 'researchable'}
highContrast={tank.type === TankType.RESEARCHABLE}
underline="hover"
wrap="nowrap"
href={`/tools/tankopedia/${tank.id}`}