diff --git a/src/components/filters/FilterDrawer.tsx b/src/components/filters/FilterDrawer.tsx index 493ac0b..8c2ea6f 100644 --- a/src/components/filters/FilterDrawer.tsx +++ b/src/components/filters/FilterDrawer.tsx @@ -16,6 +16,7 @@ import { } from '@chakra-ui/react'; import { DrawerType } from '@components/types'; +import { capitalizeWords } from '@utils/utils'; // import { FilterAccordion } from '@components/filters/FilterAccordion'; export function FilterDrawer({ @@ -190,7 +191,7 @@ export function FilterDrawer({ value={authors} onChange={() => handleRadioChange('authors', authors)} > - {authors} + {capitalizeWords(authors)} ({count})