diff --git a/src/products/views/ProductCreate.tsx b/src/products/views/ProductCreate.tsx index 1d54f64b9..5d40ebffb 100644 --- a/src/products/views/ProductCreate.tsx +++ b/src/products/views/ProductCreate.tsx @@ -7,7 +7,7 @@ import { getProductAvailabilityVariables } from "@saleor/products/utils/handlers import useCategorySearch from "@saleor/searches/useCategorySearch"; import useCollectionSearch from "@saleor/searches/useCollectionSearch"; import useProductTypeSearch from "@saleor/searches/useProductTypeSearch"; -import { useTaxTypeListt } from "@saleor/taxes/queries"; +import { useTaxTypeList } from "@saleor/taxes/queries"; import createMetadataCreateHandler from "@saleor/utils/handlers/metadataCreateHandler"; import { useMetadataUpdate, @@ -61,7 +61,7 @@ export const ProductCreateView: React.FC = () => { }); const [updateMetadata] = useMetadataUpdate({}); const [updatePrivateMetadata] = usePrivateMetadataUpdate({}); - const taxTypes = useTaxTypeListt({}); + const taxTypes = useTaxTypeList({}); const handleBack = () => navigate(productListUrl()); diff --git a/src/taxes/queries.ts b/src/taxes/queries.ts index 7b4ea6111..7f55c8858 100644 --- a/src/taxes/queries.ts +++ b/src/taxes/queries.ts @@ -32,4 +32,4 @@ const taxTypeList = gql` } } `; -export const useTaxTypeListt = makeQuery(taxTypeList); +export const useTaxTypeList = makeQuery(taxTypeList);