Skip to content

Commit 065daf6

Browse files
(add) (delete) added onHover switch case and cleaned file
1 parent 7b277c3 commit 065daf6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/app/reducers/mainReducer.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ export default (state, action) => produce(state, draft => {
4040

4141
switch (action.type) {
4242
case types.ON_HOVER: {
43-
console.log(currentTab);
44-
console.log('onHover Firedin side of the reducer');
4543
port.postMessage({
4644
action: 'onHover',
4745
payload: 'payload from Reducer ON_HOVER',
@@ -202,7 +200,6 @@ export default (state, action) => produce(state, draft => {
202200
}
203201
case types.INITIAL_CONNECT: {
204202
const { payload } = action;
205-
console.log('inside reducer INITIAL_CONNECT, payload:', payload);
206203
Object.keys(payload).forEach(tab => {
207204
// check if tab exists in memory
208205
// add new tab

0 commit comments

Comments
 (0)