Fixed: Overwriting query params for remove item handler
This commit is contained in:
parent
b1527f9abb
commit
739b408926
|
@ -7,7 +7,7 @@ function createRemoveItemHandler(section, url) {
|
||||||
return function(getState, payload, dispatch) {
|
return function(getState, payload, dispatch) {
|
||||||
const {
|
const {
|
||||||
id,
|
id,
|
||||||
...queryParams
|
queryParams
|
||||||
} = payload;
|
} = payload;
|
||||||
|
|
||||||
dispatch(set({ section, isDeleting: true }));
|
dispatch(set({ section, isDeleting: true }));
|
||||||
|
|
Loading…
Reference in New Issue