From 88df8f01369295608c09bad98c412c209afc0d56 Mon Sep 17 00:00:00 2001 From: dominik-zeglen Date: Mon, 21 Oct 2019 15:58:50 +0200 Subject: [PATCH] Use replace instead of push --- src/products/views/ProductList/ProductList.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/products/views/ProductList/ProductList.tsx b/src/products/views/ProductList/ProductList.tsx index ae78c2ba5..ae53d0bf4 100644 --- a/src/products/views/ProductList/ProductList.tsx +++ b/src/products/views/ProductList/ProductList.tsx @@ -84,7 +84,8 @@ export const ProductList: React.StatelessComponent = ({ ...params, after: undefined, before: undefined - }) + }), + true ), [settings.rowNumber] );