Skip to content

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

Use replace instead of push to browser history

dominik-zeglen81a913587c4c
diff --git a/saleor/static/dashboard-next/products/views/ProductUpdate.tsx b/saleor/static/dashboard-next/products/views/ProductUpdate.tsx
index ed99f27d29..e733e1780d 100644
--- a/saleor/static/dashboard-next/products/views/ProductUpdate.tsx
+++ b/saleor/static/dashboard-next/products/views/ProductUpdate.tsx
@@ -88,7 +88,7 @@ export const ProductUpdate: React.StatelessComponent<ProductUpdateProps> = ({
data: ProductVariantBulkDelete
) => {
if (data.productVariantBulkDelete.errors.length === 0) {
- navigate(productUrl(id));
+ navigate(productUrl(id), true);
reset();
refetch();
}