We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d14abb commit 1c65b6dCopy full SHA for 1c65b6d
src/utils/stateManagement/reducer.js
@@ -7,7 +7,7 @@ export default function reducer(state, action) {
7
const { openTabIDs: arr } = state, removedItemIndex = arr.indexOf(action.tabId);
8
if (removedItemIndex >= 0) {
9
arr.splice(removedItemIndex, 1);
10
- state = helper.getCopyState(state);
+ return helper.getCopyState(state);
11
}
12
return state;
13
0 commit comments