Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Oliver Windall Juhl <[email protected]>
  • Loading branch information
riqwan and olivermrbl authored Mar 10, 2023
1 parent 0ba580c commit 3866ca5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const storeProductCategoryKeys = queryKeysFactory(
)
type ProductCategoryQueryKeys = typeof storeProductCategoryKeys

export const useStoreProductCategories = (
export const useProductCategories = (
query?: StoreGetProductCategoriesParams,
options?: UseQueryOptionsWrapper<
Response<StoreGetProductCategoriesRes>,
Expand All @@ -34,7 +34,7 @@ export const useStoreProductCategories = (
return { ...data, ...rest } as const
}

export const useStoreProductCategory = (
export const useProductCategory = (
id: string,
query?: StoreGetProductCategoriesCategoryParams,
options?: UseQueryOptionsWrapper<
Expand Down

0 comments on commit 3866ca5

Please sign in to comment.