feat: move icon to font

This commit is contained in:
TrèsAbhi committed 2024-07-18 19:08:30 -05:00
1 parent 43671ee754
commit 0d71288df5
1 file changed
+4 -4
+4 -4
View File
@@ -1,8 +1,8 @@
import { TankDefinition } from '../core/blitzkit/tankDefinitions'; import { TankDefinition } from '../core/blitzkit/tankDefinitions';
import { tankIcon } from '../core/blitzkit/tankIcon'; import { tankIcon } from '../core/blitzkit/tankIcon';
import { classIcons } from './ClassIcon'; import { classIcons } from './ClassIcon';
import { ExperimentIcon } from './ExperimentIcon';
import { Link } from './Link'; import { Link } from './Link';
import { ScienceIcon } from './ScienceIcon';
import { StickyRowHeaderCell } from './StickyRowHeaderCell'; import { StickyRowHeaderCell } from './StickyRowHeaderCell';
interface TankRowHeaderCellProps { interface TankRowHeaderCellProps {
@@ -60,11 +60,11 @@ export function TankRowHeaderCell({ tank }: TankRowHeaderCellProps) {
style={{ minWidth: '1em', minHeight: '1em' }} style={{ minWidth: '1em', minHeight: '1em' }}
/> />
{tank.name}
{tank.testing && ( {tank.testing && (
<ScienceIcon style={{ width: '1em', height: '1em' }} /> <ExperimentIcon style={{ width: '1em', height: '1em' }} />
)} )}
{tank.name}
</Link> </Link>
</StickyRowHeaderCell> </StickyRowHeaderCell>
); );