Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix exploding table layouts

dominik-zeglenb939bce6d9f0
diff --git a/saleor/static/dashboard-next/discounts/components/DiscountCategories/DiscountCategories.tsx b/saleor/static/dashboard-next/discounts/components/DiscountCategories/DiscountCategories.tsx
index b329a034cd..4707db8953 100644
--- a/saleor/static/dashboard-next/discounts/components/DiscountCategories/DiscountCategories.tsx
+++ b/saleor/static/dashboard-next/discounts/components/DiscountCategories/DiscountCategories.tsx
@@ -87,7 +87,6 @@ const DiscountCategories = withStyles(styles, {
toolbar={toolbar}
>
<>
- <TableCell />
<TableCell className={classes.wideColumn}>
{i18n.t("Category name")}
</TableCell>
diff --git a/saleor/static/dashboard-next/discounts/components/DiscountProducts/DiscountProducts.tsx b/saleor/static/dashboard-next/discounts/components/DiscountProducts/DiscountProducts.tsx
index b3817e6b2c..7c7cd2e951 100644
--- a/saleor/static/dashboard-next/discounts/components/DiscountProducts/DiscountProducts.tsx
+++ b/saleor/static/dashboard-next/discounts/components/DiscountProducts/DiscountProducts.tsx
@@ -94,7 +94,6 @@ const DiscountProducts = withStyles(styles, {
toggleAll={toggleAll}
toolbar={toolbar}
>
- <TableCell />
<TableCell />
<TableCell className={classes.colName}>
{i18n.t("Product name")}