We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e6ea9b commit 21a3149Copy full SHA for 21a3149
src/utils/stateManagement/reducer.js
@@ -25,10 +25,8 @@ export default function reducer(state, action) {
25
case actions.active:
26
{
27
const tabId = action.tabId;
28
- if (state.selectedTabID !== tabId) {
29
- state.selectedTabID = tabId;
30
- return helper.getCopyState(state);
31
- }
+ if (state.selectedTabID !== tabId)
+ return { selectedTabID: tabId, openTabIDs: state.openTabIDs };
32
return state;
33
}
34
0 commit comments