From eec9a4c9e66217ed9608cedda989f77a7e8f831a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Fri, 9 Feb 2024 23:37:22 -0600 Subject: [PATCH] feat: smaller compact search --- src/app/tools/tankopedia/components/TankSearch/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/tools/tankopedia/components/TankSearch/index.tsx b/src/app/tools/tankopedia/components/TankSearch/index.tsx index 72aa7cda8..833c1f942 100644 --- a/src/app/tools/tankopedia/components/TankSearch/index.tsx +++ b/src/app/tools/tankopedia/components/TankSearch/index.tsx @@ -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);