Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Format code
dominik-zeglen8a2bc88cb84c
diff --git a/saleor/static/dashboard-next/categories/components/CategoryCreatePage/CategoryCreatePage.tsx b/saleor/static/dashboard-next/categories/components/CategoryCreatePage/CategoryCreatePage.tsxindex 57749dac7c..e7c9e4b77c 100644--- a/saleor/static/dashboard-next/categories/components/CategoryCreatePage/CategoryCreatePage.tsx+++ b/saleor/static/dashboard-next/categories/components/CategoryCreatePage/CategoryCreatePage.tsx@@ -51,7 +51,7 @@ export const CategoryCreatePage: React.StatelessComponent<confirmLeave>{({ data, change, errors, submit, hasChanged }) => (- <Container >+ <Container><AppHeader onBack={onBack}>{i18n.t("Categories")}</AppHeader><PageHeader title={i18n.t("Add Category")} /><div>diff --git a/saleor/static/dashboard-next/categories/components/CategoryListPage/CategoryListPage.tsx b/saleor/static/dashboard-next/categories/components/CategoryListPage/CategoryListPage.tsxindex 660d596a2c..0ca7358e1d 100644--- a/saleor/static/dashboard-next/categories/components/CategoryListPage/CategoryListPage.tsx+++ b/saleor/static/dashboard-next/categories/components/CategoryListPage/CategoryListPage.tsx@@ -30,7 +30,7 @@ export const CategoryListPage: React.StatelessComponent<CategoryTableProps> = ({onRowClick,pageInfo}) => (- <Container >+ <Container><PageHeader title={i18n.t("Category")}><Button color="secondary" variant="contained" onClick={onAdd}>{i18n.t("Add category")} <AddIcon />diff --git a/saleor/static/dashboard-next/categories/components/CategoryUpdatePage/CategoryUpdatePage.tsx b/saleor/static/dashboard-next/categories/components/CategoryUpdatePage/CategoryUpdatePage.tsxindex 66da357c8d..a0028d8d8a 100644--- a/saleor/static/dashboard-next/categories/components/CategoryUpdatePage/CategoryUpdatePage.tsx+++ b/saleor/static/dashboard-next/categories/components/CategoryUpdatePage/CategoryUpdatePage.tsx@@ -113,7 +113,7 @@ export const CategoryUpdatePage: React.StatelessComponent<confirmLeave>{({ data, change, errors, submit, hasChanged }) => (- <Container >+ <Container><AppHeader onBack={onBack}>{i18n.t("Categories")}</AppHeader><PageHeader title={category ? category.name : undefined} /><CategoryDetailsFormdiff --git a/saleor/static/dashboard-next/collections/components/CollectionCreatePage/CollectionCreatePage.tsx b/saleor/static/dashboard-next/collections/components/CollectionCreatePage/CollectionCreatePage.tsxindex 8639c9bc2d..df29e0396c 100644--- a/saleor/static/dashboard-next/collections/components/CollectionCreatePage/CollectionCreatePage.tsx+++ b/saleor/static/dashboard-next/collections/components/CollectionCreatePage/CollectionCreatePage.tsx@@ -64,7 +64,7 @@ const CollectionCreatePage: React.StatelessComponent<}: CollectionCreatePageProps) => (<Form errors={errors} initial={initialForm} onSubmit={onSubmit}>{({ change, data, errors: formErrors, hasChanged, submit }) => (- <Container >+ <Container><AppHeader onBack={onBack}>{i18n.t("Collections")}</AppHeader><PageHeadertitle={i18n.t("Add collection", {diff --git a/saleor/static/dashboard-next/collections/components/CollectionDetailsPage/CollectionDetailsPage.tsx b/saleor/static/dashboard-next/collections/components/CollectionDetailsPage/CollectionDetailsPage.tsxindex df834ba484..acaffb92f9 100644--- a/saleor/static/dashboard-next/collections/components/CollectionDetailsPage/CollectionDetailsPage.tsx+++ b/saleor/static/dashboard-next/collections/components/CollectionDetailsPage/CollectionDetailsPage.tsx@@ -69,7 +69,7 @@ const CollectionDetailsPage: React.StatelessComponent<confirmLeave>{({ change, data, errors: formErrors, hasChanged, submit }) => (- <Container >+ <Container><AppHeader onBack={onBack}>{i18n.t("Collections")}</AppHeader><PageHeader title={maybe(() => collection.name)} /><Grid>diff --git a/saleor/static/dashboard-next/collections/components/CollectionListPage/CollectionListPage.tsx b/saleor/static/dashboard-next/collections/components/CollectionListPage/CollectionListPage.tsxindex a9221cd01c..b14e64f63b 100644--- a/saleor/static/dashboard-next/collections/components/CollectionListPage/CollectionListPage.tsx+++ b/saleor/static/dashboard-next/collections/components/CollectionListPage/CollectionListPage.tsx@@ -18,7 +18,7 @@ const CollectionListPage: React.StatelessComponent<CollectionListPageProps> = ({onAdd,...listProps}) => (- <Container >+ <Container><PageHeader title={i18n.t("Collections", { context: "page title" })}><Buttoncolor="secondary"diff --git a/saleor/static/dashboard-next/components/AppLayout/AppLayout.tsx b/saleor/static/dashboard-next/components/AppLayout/AppLayout.tsxindex 788412034f..d846116600 100644--- a/saleor/static/dashboard-next/components/AppLayout/AppLayout.tsx+++ b/saleor/static/dashboard-next/components/AppLayout/AppLayout.tsx@@ -183,7 +183,7 @@ const AppLayout = withStyles(styles, {</div><div className={classes.content}><div>- <Container >+ <Container><div className={classes.header}><div ref={appHeaderAnchor} /><divdiff --git a/saleor/static/dashboard-next/components/SaveButtonBar/SaveButtonBar.tsx b/saleor/static/dashboard-next/components/SaveButtonBar/SaveButtonBar.tsxindex 953cf8f700..bc3cb9348b 100644--- a/saleor/static/dashboard-next/components/SaveButtonBar/SaveButtonBar.tsx+++ b/saleor/static/dashboard-next/components/SaveButtonBar/SaveButtonBar.tsx@@ -97,7 +97,7 @@ export const SaveButtonBar = withStyles(styles, { name: "SaveButtonBar" })(})}{...props}>- <Container className={classes.container}>+ <Container className={classes.container}>{!!onDelete && (<Buttonvariant="contained"diff --git a/saleor/static/dashboard-next/configuration/ConfigurationPage.tsx b/saleor/static/dashboard-next/configuration/ConfigurationPage.tsxindex 730ef1440c..c56d9d9106 100644--- a/saleor/static/dashboard-next/configuration/ConfigurationPage.tsx+++ b/saleor/static/dashboard-next/configuration/ConfigurationPage.tsx@@ -77,7 +77,7 @@ export interface ConfigurationPageProps extends WithStyles<typeof styles> {export const ConfigurationPage = withStyles(styles, {name: "ConfigurationPage"})(({ classes, menu, user, onSectionClick }: ConfigurationPageProps) => (- <Container >+ <Container><PageHeader title={i18n.t("Configure")} /><div className={classes.root}>{menudiff --git a/saleor/static/dashboard-next/customers/components/CustomerCreatePage/CustomerCreatePage.tsx b/saleor/static/dashboard-next/customers/components/CustomerCreatePage/CustomerCreatePage.tsxindex b2303d9e61..fdb6ba1882 100644--- a/saleor/static/dashboard-next/customers/components/CustomerCreatePage/CustomerCreatePage.tsx+++ b/saleor/static/dashboard-next/customers/components/CustomerCreatePage/CustomerCreatePage.tsx@@ -59,7 +59,7 @@ const CustomerCreatePage: React.StatelessComponent<CustomerCreatePageProps> = ({}: CustomerCreatePageProps) => (<Form initial={initialForm} onSubmit={onSubmit} errors={errors} confirmLeave>{({ change, data, errors: formErrors, hasChanged, submit }) => (- <Container >+ <Container><AppHeader onBack={onBack}>{i18n.t("Customers")}</AppHeader><PageHeader title={i18n.t("Add customer")} /><Grid>diff --git a/saleor/static/dashboard-next/customers/components/CustomerDetailsPage/CustomerDetailsPage.tsx b/saleor/static/dashboard-next/customers/components/CustomerDetailsPage/CustomerDetailsPage.tsxindex 9868c11c83..3013808006 100644--- a/saleor/static/dashboard-next/customers/components/CustomerDetailsPage/CustomerDetailsPage.tsx+++ b/saleor/static/dashboard-next/customers/components/CustomerDetailsPage/CustomerDetailsPage.tsx@@ -65,7 +65,7 @@ const CustomerDetailsPage: React.StatelessComponent<confirmLeave>{({ change, data, errors: formErrors, hasChanged, submit }) => (- <Container >+ <Container><AppHeader onBack={onBack}>{i18n.t("Customers")}</AppHeader><PageHeader title={getUserName(customer, true)} /><Grid>diff --git a/saleor/static/dashboard-next/customers/components/CustomerListPage/CustomerListPage.tsx b/saleor/static/dashboard-next/customers/components/CustomerListPage/CustomerListPage.tsxindex 2ba1fa50f5..83d8858ee3 100644--- a/saleor/static/dashboard-next/customers/components/CustomerListPage/CustomerListPage.tsx+++ b/saleor/static/dashboard-next/customers/components/CustomerListPage/CustomerListPage.tsx@@ -19,7 +19,7 @@ const CustomerListPage: React.StatelessComponent<CustomerListPageProps> = ({onAdd,...customerListProps}) => (- <Container >+ <Container><PageHeader title={i18n.t("Customers")}><Buttoncolor="secondary"diff --git a/saleor/static/dashboard-next/discounts/components/SaleCreatePage/SaleCreatePage.tsx b/saleor/static/dashboard-next/discounts/components/SaleCreatePage/SaleCreatePage.tsxindex 9d11e209e2..742b4be269 100644--- a/saleor/static/dashboard-next/discounts/components/SaleCreatePage/SaleCreatePage.tsx+++ b/saleor/static/dashboard-next/discounts/components/SaleCreatePage/SaleCreatePage.tsx@@ -49,7 +49,7 @@ const SaleCreatePage: React.StatelessComponent<SaleCreatePageProps> = ({return (<Form errors={errors} initial={initialForm} onSubmit={onSubmit}>{({ change, data, errors: formErrors, hasChanged, submit }) => (- <Container >+ <Container><AppHeader onBack={onBack}>{i18n.t("Sales")}</AppHeader><PageHeader title={i18n.t("Create Sale")} /><Grid>diff --git a/saleor/static/dashboard-next/discounts/components/SaleDetailsPage/SaleDetailsPage.tsx b/saleor/static/dashboard-next/discounts/components/SaleDetailsPage/SaleDetailsPage.tsxindex 5fb1ffddd7..0ea7a93be6 100644--- a/saleor/static/dashboard-next/discounts/components/SaleDetailsPage/SaleDetailsPage.tsx+++ b/saleor/static/dashboard-next/discounts/components/SaleDetailsPage/SaleDetailsPage.tsx@@ -103,7 +103,7 @@ const SaleDetailsPage: React.StatelessComponent<SaleDetailsPageProps> = ({return (<Form errors={errors} initial={initialForm} onSubmit={onSubmit}>{({ change, data, errors: formErrors, hasChanged, submit }) => (- <Container >+ <Container><AppHeader onBack={onBack}>{i18n.t("Sales")}</AppHeader><PageHeader title={maybe(() => sale.name)} /><Grid>diff --git a/saleor/static/dashboard-next/discounts/components/SaleListPage/SaleListPage.tsx b/saleor/static/dashboard-next/discounts/components/SaleListPage/SaleListPage.tsxindex 4d756dd26c..46a82271b0 100644--- a/saleor/static/dashboard-next/discounts/components/SaleListPage/SaleListPage.tsx+++ b/saleor/static/dashboard-next/discounts/components/SaleListPage/SaleListPage.tsx@@ -24,7 +24,7 @@ const SaleListPage: React.StatelessComponent<SaleListPageProps> = ({pageInfo,sales}) => (- <Container >+ <Container><PageHeader title={i18n.t("Sales")}><Button onClick={onAdd} variant="contained" color="secondary">{i18n.t("Add sale")}diff --git a/saleor/static/dashboard-next/discounts/components/VoucherCreatePage/VoucherCreatePage.tsx b/saleor/static/dashboard-next/discounts/components/VoucherCreatePage/VoucherCreatePage.tsxindex 86dd5641eb..082f73a95d 100644--- a/saleor/static/dashboard-next/discounts/components/VoucherCreatePage/VoucherCreatePage.tsx+++ b/saleor/static/dashboard-next/discounts/components/VoucherCreatePage/VoucherCreatePage.tsx@@ -63,7 +63,7 @@ const VoucherCreatePage: React.StatelessComponent<VoucherCreatePageProps> = ({return (<Form errors={errors} initial={initialForm} onSubmit={onSubmit}>{({ change, data, errors: formErrors, hasChanged, submit }) => (- <Container >+ <Container><AppHeader onBack={onBack}>{i18n.t("Vouchers")}</AppHeader><PageHeader title={i18n.t("Create Voucher")} /><Grid>diff --git a/saleor/static/dashboard-next/discounts/components/VoucherDetailsPage/VoucherDetailsPage.tsx b/saleor/static/dashboard-next/discounts/components/VoucherDetailsPage/VoucherDetailsPage.tsxindex 12205621b8..d583163d71 100644--- a/saleor/static/dashboard-next/discounts/components/VoucherDetailsPage/VoucherDetailsPage.tsx+++ b/saleor/static/dashboard-next/discounts/components/VoucherDetailsPage/VoucherDetailsPage.tsx@@ -126,7 +126,7 @@ const VoucherDetailsPage: React.StatelessComponent<VoucherDetailsPageProps> = ({return (<Form errors={errors} initial={initialForm} onSubmit={onSubmit}>{({ change, data, errors: formErrors, hasChanged, submit }) => (- <Container >+ <Container><AppHeader onBack={onBack}>{i18n.t("Vouchers")}</AppHeader><PageHeader title={maybe(() => voucher.name)} /><Grid>diff --git a/saleor/static/dashboard-next/discounts/components/VoucherListPage/VoucherListPage.tsx b/saleor/static/dashboard-next/discounts/components/VoucherListPage/VoucherListPage.tsxindex b1549ff4bf..c30bd5c621 100644--- a/saleor/static/dashboard-next/discounts/components/VoucherListPage/VoucherListPage.tsx+++ b/saleor/static/dashboard-next/discounts/components/VoucherListPage/VoucherListPage.tsx@@ -24,7 +24,7 @@ const VoucherListPage: React.StatelessComponent<VoucherListPageProps> = ({pageInfo,vouchers}) => (- <Container >+ <Container><PageHeader title={i18n.t("Vouchers")}><Button onClick={onAdd} variant="contained" color="secondary">{i18n.t("Add voucher")}diff --git a/saleor/static/dashboard-next/home/components/HomePage/HomePage.tsx b/saleor/static/dashboard-next/home/components/HomePage/HomePage.tsxindex 703a01ddf7..7e7c263d11 100644--- a/saleor/static/dashboard-next/home/components/HomePage/HomePage.tsx+++ b/saleor/static/dashboard-next/home/components/HomePage/HomePage.tsx@@ -70,7 +70,7 @@ const HomePage = withStyles(styles, { name: "HomePage" })(ordersToFulfill,productsOutOfStock}: HomePageProps) => (- <Container >+ <Container><HomeHeader userName={userName} /><CardSpacer /><Grid>diff --git a/saleor/static/dashboard-next/home/components/HomeScreen.tsx b/saleor/static/dashboard-next/home/components/HomeScreen.tsxindex 5d9e03c8a5..14fe398136 100644--- a/saleor/static/dashboard-next/home/components/HomeScreen.tsx+++ b/saleor/static/dashboard-next/home/components/HomeScreen.tsx@@ -17,7 +17,7 @@ interface HomeScreenProps {export const HomeScreen: React.StatelessComponent<HomeScreenProps> = ({user}) => (- <Container >+ <Container><PageHeadertitle={i18n.t("Hello there, {{userName}}", { userName: user.email })}/>diff --git a/saleor/static/dashboard-next/orders/components/OrderDetailsPage/OrderDetailsPage.tsx b/saleor/static/dashboard-next/orders/components/OrderDetailsPage/OrderDetailsPage.tsxindex f4171a1a56..5b6d23f699 100644--- a/saleor/static/dashboard-next/orders/components/OrderDetailsPage/OrderDetailsPage.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderDetailsPage/OrderDetailsPage.tsx@@ -90,7 +90,7 @@ const OrderDetailsPage = withStyles(styles, { name: "OrderDetailsPage" })();return (- <Container >+ <Container><AppHeader onBack={onBack}>{i18n.t("Orders")}</AppHeader><PageHeaderclassName={classes.header}diff --git a/saleor/static/dashboard-next/orders/components/OrderDraftPage/OrderDraftPage.tsx b/saleor/static/dashboard-next/orders/components/OrderDraftPage/OrderDraftPage.tsxindex 1b1c8c2452..648bd35fa5 100644--- a/saleor/static/dashboard-next/orders/components/OrderDraftPage/OrderDraftPage.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderDraftPage/OrderDraftPage.tsx@@ -89,7 +89,7 @@ const OrderDraftPage = withStyles(styles, { name: "OrderDraftPage" })(users,usersLoading}: OrderDraftPageProps) => (- <Container >+ <Container><AppHeader onBack={onBack}>{i18n.t("Orders")}</AppHeader><PageHeaderclassName={classes.header}diff --git a/saleor/static/dashboard-next/orders/components/OrderListPage/OrderListPage.tsx b/saleor/static/dashboard-next/orders/components/OrderListPage/OrderListPage.tsxindex 20ed205481..47ea43f357 100644--- a/saleor/static/dashboard-next/orders/components/OrderListPage/OrderListPage.tsx+++ b/saleor/static/dashboard-next/orders/components/OrderListPage/OrderListPage.tsx@@ -37,7 +37,7 @@ const OrderListPage: React.StatelessComponent<OrderListPageProps> = ({onToCapture,onCustomFilter}) => (- <Container >+ <Container><PageHeader title={i18n.t("Orders")}><Buttoncolor="secondary"diff --git a/saleor/static/dashboard-next/productTypes/components/ProductTypeCreatePage/ProductTypeCreatePage.tsx b/saleor/static/dashboard-next/productTypes/components/ProductTypeCreatePage/ProductTypeCreatePage.tsxindex a6b86a226d..efd87407ce 100644--- a/saleor/static/dashboard-next/productTypes/components/ProductTypeCreatePage/ProductTypeCreatePage.tsx+++ b/saleor/static/dashboard-next/productTypes/components/ProductTypeCreatePage/ProductTypeCreatePage.tsx@@ -61,7 +61,7 @@ const ProductTypeCreatePage: React.StatelessComponent<confirmLeave>{({ change, data, hasChanged, submit }) => (- <Container >+ <Container><AppHeader onBack={onBack}>{i18n.t("Product Types")}</AppHeader><PageHeader title={pageTitle} /><Grid>diff --git a/saleor/static/dashboard-next/productTypes/components/ProductTypeDetailsPage/ProductTypeDetailsPage.tsx b/saleor/static/dashboard-next/productTypes/components/ProductTypeDetailsPage/ProductTypeDetailsPage.tsxindex cd1782f067..46ec80eb82 100644--- a/saleor/static/dashboard-next/productTypes/components/ProductTypeDetailsPage/ProductTypeDetailsPage.tsx+++ b/saleor/static/dashboard-next/productTypes/components/ProductTypeDetailsPage/ProductTypeDetailsPage.tsx@@ -109,7 +109,7 @@ const ProductTypeDetailsPage: React.StatelessComponent<confirmLeave>{({ change, data, hasChanged, submit }) => (- <Container >+ <Container><AppHeader onBack={onBack}>{i18n.t("Product Types")}</AppHeader><PageHeader title={pageTitle} /><Grid>diff --git a/saleor/static/dashboard-next/productTypes/components/ProductTypeListPage/ProductTypeListPage.tsx b/saleor/static/dashboard-next/productTypes/components/ProductTypeListPage/ProductTypeListPage.tsxindex b76873128c..5ca012c510 100644--- a/saleor/static/dashboard-next/productTypes/components/ProductTypeListPage/ProductTypeListPage.tsx+++ b/saleor/static/dashboard-next/productTypes/components/ProductTypeListPage/ProductTypeListPage.tsx@@ -24,7 +24,7 @@ const ProductTypeListPage: React.StatelessComponent<onPreviousPage,onRowClick}) => (- <Container >+ <Container><PageHeader title={i18n.t("Product types")}><Buttoncolor="secondary"diff --git a/saleor/static/dashboard-next/products/components/ProductCreatePage/ProductCreatePage.tsx b/saleor/static/dashboard-next/products/components/ProductCreatePage/ProductCreatePage.tsxindex 9b257c19c0..3f3ef63320 100644--- a/saleor/static/dashboard-next/products/components/ProductCreatePage/ProductCreatePage.tsx+++ b/saleor/static/dashboard-next/products/components/ProductCreatePage/ProductCreatePage.tsx@@ -128,7 +128,7 @@ export const ProductCreatePage: React.StatelessComponent<confirmLeave>{({ change, data, errors, hasChanged, submit }) => (- <Container >+ <Container><AppHeader onBack={onBack}>{i18n.t("Products")}</AppHeader><PageHeader title={header} /><Grid>diff --git a/saleor/static/dashboard-next/products/components/ProductImagePage/ProductImagePage.tsx b/saleor/static/dashboard-next/products/components/ProductImagePage/ProductImagePage.tsxindex 2cdead3bc4..31c11f5af3 100644--- a/saleor/static/dashboard-next/products/components/ProductImagePage/ProductImagePage.tsx+++ b/saleor/static/dashboard-next/products/components/ProductImagePage/ProductImagePage.tsx@@ -77,7 +77,7 @@ const ProductImagePage = withStyles(styles, { name: "ProductImagePage" })(>{({ change, data, hasChanged, submit }) => {return (- <Container >+ <Container><AppHeader onBack={onBack}>{product}</AppHeader><PageHeader title={i18n.t("Edit Photo")} /><Grid variant="inverted">diff --git a/saleor/static/dashboard-next/products/components/ProductListCard/ProductListCard.tsx b/saleor/static/dashboard-next/products/components/ProductListCard/ProductListCard.tsxindex ceb16ee3ab..f7f4aedd64 100644--- a/saleor/static/dashboard-next/products/components/ProductListCard/ProductListCard.tsx+++ b/saleor/static/dashboard-next/products/components/ProductListCard/ProductListCard.tsx@@ -39,7 +39,7 @@ export const ProductListCard: React.StatelessComponent<onOfStock,onCustomFilter}) => (- <Container >+ <Container><PageHeader title={i18n.t("Products")}><Button onClick={onAdd} color="secondary" variant="contained">{i18n.t("Add product")} <AddIcon />diff --git a/saleor/static/dashboard-next/products/components/ProductUpdatePage/ProductUpdatePage.tsx b/saleor/static/dashboard-next/products/components/ProductUpdatePage/ProductUpdatePage.tsxindex 9cff403ff1..927834fd3a 100644--- a/saleor/static/dashboard-next/products/components/ProductUpdatePage/ProductUpdatePage.tsx+++ b/saleor/static/dashboard-next/products/components/ProductUpdatePage/ProductUpdatePage.tsx@@ -202,7 +202,7 @@ export const ProductUpdate: React.StatelessComponent<ProductUpdateProps> = ({>{({ change, data, errors, hasChanged, submit }) => (<>- <Container >+ <Container><AppHeader onBack={onBack}>{i18n.t("Products")}</AppHeader><PageHeader title={header} /><Grid>diff --git a/saleor/static/dashboard-next/products/components/ProductVariantCreatePage/ProductVariantCreatePage.tsx b/saleor/static/dashboard-next/products/components/ProductVariantCreatePage/ProductVariantCreatePage.tsxindex 7b95dbfd7d..abdcf8a89e 100644--- a/saleor/static/dashboard-next/products/components/ProductVariantCreatePage/ProductVariantCreatePage.tsx+++ b/saleor/static/dashboard-next/products/components/ProductVariantCreatePage/ProductVariantCreatePage.tsx@@ -75,7 +75,7 @@ const ProductVariantCreatePage: React.StatelessComponent<key={product ? JSON.stringify(product) : "noproduct"}>{({ change, data, errors, hasChanged, submit }) => (- <Container >+ <Container><AppHeader onBack={onBack}>{maybe(() => product.name)}</AppHeader><PageHeader title={header} /><Grid variant="inverted">diff --git a/saleor/static/dashboard-next/products/components/ProductVariantPage/ProductVariantPage.tsx b/saleor/static/dashboard-next/products/components/ProductVariantPage/ProductVariantPage.tsxindex 65c8322f63..7895269c89 100644--- a/saleor/static/dashboard-next/products/components/ProductVariantPage/ProductVariantPage.tsx+++ b/saleor/static/dashboard-next/products/components/ProductVariantPage/ProductVariantPage.tsx@@ -61,7 +61,7 @@ const ProductVariantPage: React.StatelessComponent<ProductVariantPageProps> = ({<Toggle>{(isImageSelectModalActive, { toggle: toggleImageSelectModal }) => (<>- <Container >+ <Container><AppHeader onBack={onBack}>{maybe(() => variant.product.name)}</AppHeader>diff --git a/saleor/static/dashboard-next/siteSettings/components/SiteSettingsPage/SiteSettingsPage.tsx b/saleor/static/dashboard-next/siteSettings/components/SiteSettingsPage/SiteSettingsPage.tsxindex 794fb09850..022b731ead 100644--- a/saleor/static/dashboard-next/siteSettings/components/SiteSettingsPage/SiteSettingsPage.tsx+++ b/saleor/static/dashboard-next/siteSettings/components/SiteSettingsPage/SiteSettingsPage.tsx@@ -57,7 +57,7 @@ const SiteSettingsPage: React.StatelessComponent<SiteSettingsPageProps> = ({confirmLeave>{({ change, data, errors: formErrors, hasChanged, submit }) => (- <Container >+ <Container><PageHeadertitle={i18n.t("General Information", {context: "page header"diff --git a/saleor/static/dashboard-next/staff/components/StaffDetailsPage/StaffDetailsPage.tsx b/saleor/static/dashboard-next/staff/components/StaffDetailsPage/StaffDetailsPage.tsxindex 1574b2ebb4..c394a9224c 100644--- a/saleor/static/dashboard-next/staff/components/StaffDetailsPage/StaffDetailsPage.tsx+++ b/saleor/static/dashboard-next/staff/components/StaffDetailsPage/StaffDetailsPage.tsx@@ -67,7 +67,7 @@ const StaffDetailsPage: React.StatelessComponent<StaffDetailsPageProps> = ({return (<Form initial={initialForm} onSubmit={onSubmit} confirmLeave>{({ data, change, hasChanged, submit }) => (- <Container >+ <Container><AppHeader onBack={onBack}>{i18n.t("Staff Members")}</AppHeader><PageHeader title={getUserName(staffMember)} /><Grid>diff --git a/saleor/static/dashboard-next/staff/components/StaffListPage/StaffListPage.tsx b/saleor/static/dashboard-next/staff/components/StaffListPage/StaffListPage.tsxindex 1c69a6ec78..f358c78cde 100644--- a/saleor/static/dashboard-next/staff/components/StaffListPage/StaffListPage.tsx+++ b/saleor/static/dashboard-next/staff/components/StaffListPage/StaffListPage.tsx@@ -23,7 +23,7 @@ const StaffListPage: React.StatelessComponent<StaffListPageProps> = ({onPreviousPage,onRowClick}) => (- <Container >+ <Container><PageHeader title={i18n.t("Staff members", { context: "page title" })}><Buttoncolor="secondary"diff --git a/saleor/static/dashboard-next/taxes/components/CountryListPage/CountryListPage.tsx b/saleor/static/dashboard-next/taxes/components/CountryListPage/CountryListPage.tsxindex e8c125be83..2b7090c02b 100644--- a/saleor/static/dashboard-next/taxes/components/CountryListPage/CountryListPage.tsx+++ b/saleor/static/dashboard-next/taxes/components/CountryListPage/CountryListPage.tsx@@ -38,7 +38,7 @@ const CountryListPage: React.StatelessComponent<CountryListPageProps> = ({return (<Form initial={initialForm} onSubmit={onSubmit}>{({ change, data, submit }) => (- <Container >+ <Container><PageHeader title={i18n.t("Taxes", { context: "page title" })} /><Grid><div>diff --git a/saleor/static/dashboard-next/taxes/components/CountryTaxesPage/CountryTaxesPage.tsx b/saleor/static/dashboard-next/taxes/components/CountryTaxesPage/CountryTaxesPage.tsxindex a6a3caedac..8e00b7d878 100644--- a/saleor/static/dashboard-next/taxes/components/CountryTaxesPage/CountryTaxesPage.tsx+++ b/saleor/static/dashboard-next/taxes/components/CountryTaxesPage/CountryTaxesPage.tsx@@ -37,7 +37,7 @@ const CountryTaxesPage = withStyles(styles, { name: "CountryTaxesPage" })(}: CountryTaxesPageProps & WithStyles<typeof styles>) => {const taxRates = translatedTaxRates();return (- <Container >+ <Container><AppHeader onBack={onBack}>{i18n.t("Taxes")}</AppHeader><PageHeadertitle={