From 7071b13f87efb5570352cf8b3e0f22d2926cd7fb Mon Sep 17 00:00:00 2001 From: franco sanchez Date: Mon, 23 Sep 2024 19:30:20 -0300 Subject: [PATCH] chore: added capitalize function in FilterDrawer --- src/components/filters/FilterDrawer.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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})