Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add story
dominik-zeglen2fb6b925a158
diff --git a/saleor/static/dashboard-next/storybook/stories/components/ErrorPage.tsx b/saleor/static/dashboard-next/storybook/stories/components/ErrorPage.tsxindex 8268959e50..cf50c5b3aa 100644--- a/saleor/static/dashboard-next/storybook/stories/components/ErrorPage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/components/ErrorPage.tsx@@ -1,14 +1,14 @@import { storiesOf } from "@storybook/react";import * as React from "react";+import { Omit } from "@material-ui/core";import ErrorPage, { ErrorPageProps } from "../../../components/ErrorPage";import Decorator from "../../Decorator";-const props:ErrorPageProps = {--}+const props: Omit<ErrorPageProps, "classes"> = {+ onBack: () => undefined+};storiesOf("Components / ErrorPage", module).addDecorator(Decorator)- .add("default", () => <ErrorPage {...ErrorPageProps} />)- .add("other", () => <ErrorPage {...ErrorPageProps} />);+ .add("default", () => <ErrorPage {...props} />);