diff --git a/src/components/category-selector.tsx b/src/components/category-selector.tsx index 46ec31f5a..af237f399 100644 --- a/src/components/category-selector.tsx +++ b/src/components/category-selector.tsx @@ -8,6 +8,7 @@ import { CommandGroup, CommandInput, CommandItem, + CommandList, } from '@/components/ui/command' import { Drawer, DrawerContent, DrawerTrigger } from '@/components/ui/drawer' import { @@ -113,8 +114,8 @@ function CategoryCommand({ return ( - {t('noCategory')} -
+ + {t('noCategory')} {Object.entries(categoriesByGroup).map( ([group, groupCategories], index) => ( @@ -135,7 +136,7 @@ function CategoryCommand({ ), )} -
+
) } diff --git a/src/components/currency-selector.tsx b/src/components/currency-selector.tsx index 75cf14598..ff5bf1b63 100644 --- a/src/components/currency-selector.tsx +++ b/src/components/currency-selector.tsx @@ -7,6 +7,7 @@ import { CommandGroup, CommandInput, CommandItem, + CommandList, } from '@/components/ui/command' import { Drawer, DrawerContent, DrawerTrigger } from '@/components/ui/drawer' import { @@ -128,8 +129,8 @@ function CurrencyCommand({ return ( - {t('noCurrency')} -
+ + {t('noCurrency')} {Object.entries(currenciesByGroup).map( ([group, groupCurrencies], index) => ( @@ -147,7 +148,7 @@ function CurrencyCommand({ ), )} -
+
) }