This commit is contained in:
dominik-zeglen 2020-09-25 17:02:27 +02:00
parent 5b6a420199
commit 56b331aef2
2 changed files with 3 additions and 3 deletions

View file

@ -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());

View file

@ -32,4 +32,4 @@ const taxTypeList = gql`
}
}
`;
export const useTaxTypeListt = makeQuery<TaxTypeList, {}>(taxTypeList);
export const useTaxTypeList = makeQuery<TaxTypeList, {}>(taxTypeList);