From b28e2fe17c0984799f032c7858a580ccf6335eb0 Mon Sep 17 00:00:00 2001 From: Birk Johansson Date: Thu, 21 Nov 2024 14:58:37 +0100 Subject: [PATCH] refactor: rename option type --- .../categoryCombos/form/useIdenticalCategoryCombosQuery.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/categoryCombos/form/useIdenticalCategoryCombosQuery.tsx b/src/pages/categoryCombos/form/useIdenticalCategoryCombosQuery.tsx index 9513c1c3..543886e2 100644 --- a/src/pages/categoryCombos/form/useIdenticalCategoryCombosQuery.tsx +++ b/src/pages/categoryCombos/form/useIdenticalCategoryCombosQuery.tsx @@ -10,7 +10,7 @@ export type IdenticalCategoryCombosQueryResult = PagedResponse< 'categoryCombos' > -type UseIdenticalCategoryCombosQuery = { +type UseIdenticalCategoryCombosQueryOptions = { categoryComboId?: string selectedCategories: CategoriesValue } & Pick< @@ -22,7 +22,7 @@ export const useIdenticalCategoryCombosQuery = ({ categoryComboId, selectedCategories, ...queryOptions -}: UseIdenticalCategoryCombosQuery) => { +}: UseIdenticalCategoryCombosQueryOptions) => { const queryFn = useBoundResourceQueryFn() const notSameCatComboFilter = `id:ne:${categoryComboId}` const idFilters = selectedCategories.map(