From 01673acb2c9a56e57e52fa276c84f4fcee7c1381 Mon Sep 17 00:00:00 2001 From: Joel Jeremy Marquez Date: Fri, 12 Apr 2024 16:51:26 -0700 Subject: [PATCH] Fix lint error --- packages/desktop-client/src/hooks/useCategoryGroup.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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], + ); }