mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
feat: better layout
This commit is contained in:
1 parent
0c74cb90e9
commit
fe945cced1
11 files changed
+156
-137
No files matched your search
@@ -107,7 +107,6 @@ export type ArmorPiercingLayer =
|
||||
|
||||
export const SORT_NAMES = {
|
||||
'meta.tier': 'tier',
|
||||
'meta.name': 'name',
|
||||
'survivability.health': 'health',
|
||||
'survivability.viewRange': 'view range',
|
||||
'survivability.camouflageStill': 'camouflage still',
|
||||
|
||||
@@ -5,7 +5,7 @@ import { Tier } from '../core/blitzkit/tankDefinitions';
|
||||
import { TankopediaSortBy, TankopediaSortDirection } from './tankopedia';
|
||||
|
||||
export interface TankopediaFilters {
|
||||
tier?: Tier;
|
||||
tier: Tier;
|
||||
nation?: string;
|
||||
class?: TankClass;
|
||||
type?: TreeType;
|
||||
@@ -23,6 +23,7 @@ export const useTankopediaFilters = create<TankopediaFilters>()(() => ({
|
||||
by: 'meta.tier',
|
||||
direction: 'descending',
|
||||
},
|
||||
tier: 10,
|
||||
}));
|
||||
|
||||
export function mutateTankopediaFilters(
|
||||
|
||||
Reference in new issue
Block a user