Skip to content

Commit 3981927

Browse files
committed
got rid of unnecessary comments
1 parent 8a9acfd commit 3981927

File tree

4 files changed

+1
-20
lines changed

4 files changed

+1
-20
lines changed

src/app/containers/HeadContainer.jsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ function HeadContainer() {
1010
return (
1111
<div className="head-container">
1212
<SwitchAppDropdown />
13-
<div>
14-
{title}
15-
</div>
1613
</div>
1714
);
1815
}

src/app/containers/MainContainer.jsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ function MainContainer() {
3737
setnpm(true);
3838
break;
3939
}
40-
case 'activatedTab': {
41-
// console.log(payload, 'activatedTab in main Container');
42-
break;
43-
}
4440
default:
4541
}
4642
});

src/app/styles/layout/_headContainer.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
.head-container {
77
display: flex;
8-
flex-direction: row;
9-
align-items: center;
8+
flex-direction: row-reverse;
109
justify-content: space-around;
1110
}

src/extension/background.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -120,17 +120,6 @@ chrome.runtime.onMessage.addListener((request, sender) => {
120120
}
121121
});
122122

123-
// chrome.tabs.onActivated.addListener((info) => {
124-
// console.log('this is activated', info);
125-
// if (bg) {
126-
// console.log('hello', bg);
127-
// bg.postMessage({
128-
// action: 'activatedTab',
129-
// payload: info.tabId,
130-
// });
131-
// }
132-
// });
133-
134123
// when tab is closed, remove the tabid from the tabsObj
135124
chrome.tabs.onRemoved.addListener(tabId => {
136125
delete tabsObj[tabId];

0 commit comments

Comments
 (0)