diff --git a/packages/desktop-client/src/hooks/useCategoryGroup.ts b/packages/desktop-client/src/hooks/useCategoryGroup.ts index 3dbd12dc8ed..53806fe3cff 100644 --- a/packages/desktop-client/src/hooks/useCategoryGroup.ts +++ b/packages/desktop-client/src/hooks/useCategoryGroup.ts @@ -4,5 +4,8 @@ import { useCategories } from './useCategories'; export function useCategoryGroup(id: string) { const { grouped: categoryGroups } = useCategories(); - return useMemo(() => categoryGroups.find(g => g.id === id), [id, categoryGroups]); + return useMemo( + () => categoryGroups.find(g => g.id === id), + [id, categoryGroups], + ); }