diff --git a/docs/changelogs/1.19.0.md b/docs/changelogs/1.19.0.md index 0a0da697d..e7371c42d 100644 --- a/docs/changelogs/1.19.0.md +++ b/docs/changelogs/1.19.0.md @@ -20,4 +20,4 @@ Introducing the Blitzkrieg Compare tool! ## Fixes -- Tank search is now not ignore when changing filters +- Tank search is now not ignored when changing filters diff --git a/src/app/tools/tankopedia/components/TankSearch/components/Options/index.tsx b/src/app/tools/tankopedia/components/TankSearch/components/Options/index.tsx index 1e1a53480..460960c71 100644 --- a/src/app/tools/tankopedia/components/TankSearch/components/Options/index.tsx +++ b/src/app/tools/tankopedia/components/TankSearch/components/Options/index.tsx @@ -1,7 +1,6 @@ 'use client'; -import { CaretDownIcon } from '@radix-ui/react-icons'; -import { Button, DropdownMenu, Flex } from '@radix-ui/themes'; +import { Button, Flex } from '@radix-ui/themes'; import { use } from 'react'; import { Flag } from '../../../../../../../components/Flag'; import {} from '../../../../../../../components/Tanks'; @@ -17,7 +16,6 @@ import { TIER_ROMAN_NUMERALS, } from '../../../../../../../core/blitzkrieg/tankDefinitions/constants'; import mutateTankopediaPersistent, { - TankopediaTestTankDisplay, useTankopediaPersistent, } from '../../../../../../../stores/tankopedia'; import * as styles from './index.css'; @@ -28,32 +26,6 @@ export function Options() { return ( - - - - - - - mutateTankopediaPersistent((draft) => { - draft.filters.test = value as TankopediaTestTankDisplay; - }) - } - > - - Include - - - Exclude - - Only - - - {TREE_TYPES.map((type, index) => ( + + + + mutateTankopediaPersistent((draft) => { + draft.filters.test = value as TankopediaTestTankDisplay; + }) + } + > + + Include + + + Exclude + + Only + + + */} ); }