Skip to content

Commit bbdbb2d

Browse files
authored
Update mainReducer.js
1 parent 90acf84 commit bbdbb2d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/app/reducers/mainReducer.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,6 @@ export default (state, action) => produce(state, draft => {
134134

135135
Object.keys(tabs).forEach(tab => {
136136
if (tab !== 'sourceTab') {
137-
console.log('reducer => payload', payload);
138-
console.log('reducer => tabs[tab]', tabs[tab]);
139-
console.log('reducer => state', state);
140137
if (!payload[tab]) {
141138
delete tabs[tab];
142139
} else {
@@ -168,7 +165,6 @@ export default (state, action) => produce(state, draft => {
168165
const newCurrentTab = Object.keys(draft.tabs)[0];
169166
draft.currentTab = newCurrentTab;
170167
}
171-
console.log('reducer => delete tab', action.payload);
172168
break;
173169
}
174170
default:

0 commit comments

Comments
 (0)