Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Update types
dominik-zeglen187c9a6b7e25
diff --git a/saleor/static/dashboard-next/home/components/HomePage/HomePage.tsx b/saleor/static/dashboard-next/home/components/HomePage/HomePage.tsxindex 2f1e5d16aa..5ed9b3810c 100644--- a/saleor/static/dashboard-next/home/components/HomePage/HomePage.tsx+++ b/saleor/static/dashboard-next/home/components/HomePage/HomePage.tsx@@ -56,6 +56,7 @@ export interface HomePageProps extends WithStyles<typeof styles> {const HomePage = withStyles(styles, { name: "HomePage" })(({+ classes,userName,orders,sales,diff --git a/saleor/static/dashboard-next/products/components/ProductUpdatePage/ProductUpdatePage.tsx b/saleor/static/dashboard-next/products/components/ProductUpdatePage/ProductUpdatePage.tsxindex 11cf9578ce..f73e955ffa 100644--- a/saleor/static/dashboard-next/products/components/ProductUpdatePage/ProductUpdatePage.tsx+++ b/saleor/static/dashboard-next/products/components/ProductUpdatePage/ProductUpdatePage.tsx@@ -1,14 +1,10 @@-import {- createStyles,- Theme,- withStyles,- WithStyles-} from "@material-ui/core/styles";import * as React from "react";+import CardSpacer from "../../../components/CardSpacer";import { ConfirmButtonTransitionState } from "../../../components/ConfirmButton/ConfirmButton";import Container from "../../../components/Container";import Form from "../../../components/Form";+import Grid from "../../../components/Grid";import PageHeader from "../../../components/PageHeader";import SaveButtonBar from "../../../components/SaveButtonBar/SaveButtonBar";import SeoForm from "../../../components/SeoForm";@@ -27,31 +23,8 @@ import ProductOrganization from "../ProductOrganization";import ProductPricing from "../ProductPricing";import ProductStock from "../ProductStock";import ProductVariants from "../ProductVariants";-import Grid from "../../../components/Grid";-import CardSpacer from "../../../components/CardSpacer";--const styles = (theme: Theme) =>- createStyles({- cardContainer: {- marginTop: theme.spacing.unit * 2,- [theme.breakpoints.down("sm")]: {- marginTop: theme.spacing.unit- }- },- root: {- display: "grid",- gridGap: theme.spacing.unit * 2 + "px",- gridTemplateColumns: "9fr 4fr",- marginTop: theme.spacing.unit * 2,- [theme.breakpoints.down("sm")]: {- gridGap: theme.spacing.unit + "px",- gridTemplateColumns: "1fr",- marginTop: theme.spacing.unit- }- }- });-interface ProductUpdateProps extends WithStyles<typeof styles> {+interface ProductUpdateProps {errors: UserError[];placeholderImage: string;collections?: Array<{