feat: smaller compact search

This commit is contained in:
TrèsAbhi committed 2024-02-09 23:37:22 -06:00
1 parent 469ffa145a
commit eec9a4c9e6
1 file changed
+1 -1
@@ -52,7 +52,7 @@ const tankTypeOrder: TankType[] = ['light', 'medium', 'heavy', 'tankDestroyer'];
const treeTypeOrder: TreeType[] = ['researchable', 'premium', 'collector'];
export function TankSearch({ compact, onSelect = () => {} }: TankSearchProps) {
const tanksPerPage = compact ? 64 : 96;
const tanksPerPage = compact ? 16 : 96;
const nations = use(NATIONS);
const filters = useTankopediaPersistent((state) => state.filters);
const sort = useTankopediaPersistent((state) => state.sort);