From 26852981ba497680a11f652d84302cbb378f2e9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Wed, 17 Jan 2024 12:25:53 -0600 Subject: [PATCH] feat: consistent filters --- .../components/SearchResults.tsx | 3 +- .../tankopedia/components/Options/index.tsx | 46 +++++++++++-------- src/app/tools/tankopedia/page.tsx | 26 +++-------- src/components/ModuleButton.tsx | 1 - 4 files changed, 34 insertions(+), 42 deletions(-) diff --git a/src/app/tools/tankopedia/[id]/components/AntagonistBar/components/SearchResults.tsx b/src/app/tools/tankopedia/[id]/components/AntagonistBar/components/SearchResults.tsx index f98835f2f..696f71e7a 100644 --- a/src/app/tools/tankopedia/[id]/components/AntagonistBar/components/SearchResults.tsx +++ b/src/app/tools/tankopedia/[id]/components/AntagonistBar/components/SearchResults.tsx @@ -23,9 +23,8 @@ export function SearchResults({ ids, setDuel }: SearchResultsProps) { const tank = awaitedTankDefinitions[id]; return ( - + - @@ -75,7 +75,8 @@ export function Options() { {TREE_TYPES.map((type, index) => ( - {showFilters && ( - - Loading...}> - - - - )} + + Loading...}> + + +