Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix stories
dominik-zeglen7e2e06c1a6e5
diff --git a/saleor/static/dashboard-next/productTypes/components/ProductTypeDetailsPage/ProductTypeDetailsPage.tsx b/saleor/static/dashboard-next/productTypes/components/ProductTypeDetailsPage/ProductTypeDetailsPage.tsxindex 901b58534e..a0191a5900 100644--- a/saleor/static/dashboard-next/productTypes/components/ProductTypeDetailsPage/ProductTypeDetailsPage.tsx+++ b/saleor/static/dashboard-next/productTypes/components/ProductTypeDetailsPage/ProductTypeDetailsPage.tsx@@ -38,7 +38,7 @@ export interface ProductTypeForm {variantAttributes: ChoiceType[];weight: number;}-interface ProductTypeDetailsPageProps {+export interface ProductTypeDetailsPageProps {errors: Array<{field: string;message: string;diff --git a/saleor/static/dashboard-next/storybook/stories/productTypes/ProductTypeDetailsPage.tsx b/saleor/static/dashboard-next/storybook/stories/productTypes/ProductTypeDetailsPage.tsxindex 30c2b72a20..6023949a25 100644--- a/saleor/static/dashboard-next/storybook/stories/productTypes/ProductTypeDetailsPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/productTypes/ProductTypeDetailsPage.tsx@@ -1,16 +1,19 @@import { storiesOf } from "@storybook/react";import * as React from "react";-import ProductTypeDetailsPage from "../../../productTypes/components/ProductTypeDetailsPage";+import ProductTypeDetailsPage, {+ ProductTypeDetailsPageProps+} from "../../../productTypes/components/ProductTypeDetailsPage";import { productType } from "../../../productTypes/fixtures";import { WeightUnitsEnum } from "../../../types/globalTypes";import Decorator from "../../Decorator";-const props = {+const props: ProductTypeDetailsPageProps = {defaultWeightUnit: "kg" as WeightUnitsEnum,disabled: false,errors: [],onAttributeAdd: () => undefined,+ onAttributeDelete: () => undefined,onAttributeUpdate: () => undefined,onBack: () => undefined,onDelete: () => undefined,