Skip to content

Commit

Permalink
refactor: rename option type
Browse files Browse the repository at this point in the history
  • Loading branch information
Birkbjo committed Nov 21, 2024
1 parent 353d4e6 commit b28e2fe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export type IdenticalCategoryCombosQueryResult = PagedResponse<
'categoryCombos'
>

type UseIdenticalCategoryCombosQuery = {
type UseIdenticalCategoryCombosQueryOptions = {
categoryComboId?: string
selectedCategories: CategoriesValue
} & Pick<
Expand All @@ -22,7 +22,7 @@ export const useIdenticalCategoryCombosQuery = ({
categoryComboId,
selectedCategories,
...queryOptions
}: UseIdenticalCategoryCombosQuery) => {
}: UseIdenticalCategoryCombosQueryOptions) => {
const queryFn = useBoundResourceQueryFn()
const notSameCatComboFilter = `id:ne:${categoryComboId}`
const idFilters = selectedCategories.map(
Expand Down

0 comments on commit b28e2fe

Please sign in to comment.