From 1ec1fc4c67e55705c386159513d7be98887f5d61 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Sun, 11 Aug 2024 18:51:11 +0300 Subject: [PATCH] Fixed: Overwriting query params for remove item handler (#7075) (cherry picked from commit eb2fd1350904cdcc8e7d56147111da40a5df8a11) --- frontend/src/Store/Actions/Creators/createRemoveItemHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Store/Actions/Creators/createRemoveItemHandler.js b/frontend/src/Store/Actions/Creators/createRemoveItemHandler.js index dfe29ace8..3de794bdf 100644 --- a/frontend/src/Store/Actions/Creators/createRemoveItemHandler.js +++ b/frontend/src/Store/Actions/Creators/createRemoveItemHandler.js @@ -7,7 +7,7 @@ function createRemoveItemHandler(section, url) { return function(getState, payload, dispatch) { const { id, - ...queryParams + queryParams } = payload; dispatch(set({ section, isDeleting: true }));