Skip to content

Commit 5ba6824

Browse files
committed
removed console logs
1 parent df3ec94 commit 5ba6824

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

src/app/components/Action.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ const Action = (props) => {
1515
<div
1616
className="jump-button"
1717
onClick={() => handleJumpSnapshot(index)}
18-
onKeyPress={() => console.log('key pressed')}
1918
tabIndex={index}
2019
role="button"
2120
>

src/extension/contentScript.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
1-
console.log('contentScript running');
2-
31
// listening for messages from npm package
42
window.addEventListener('message', (msg) => {
53
// post initial Message to npm package
6-
const { action, payload } = msg.data;
7-
console.log('npm -> contentScript', msg.data);
4+
const { action } = msg.data;
85
if (action === 'recordSnap') chrome.runtime.sendMessage(msg.data);
96
});
107

118
// listening for messages from background.js
12-
chrome.runtime.onMessage.addListener((request, sender, sendResponse) => {
9+
chrome.runtime.onMessage.addListener((request) => {
1310
// send the message to npm package
1411
const { action } = request;
1512
switch (action) {
@@ -29,4 +26,3 @@ chrome.runtime.onMessage.addListener((request, sender, sendResponse) => {
2926
chrome.runtime.sendMessage({ action: 'tabReload' });
3027

3128
window.postMessage({ action: 'contentScriptStarted' });
32-
console.log('contentScriptStarted msg sent');

src/extension/devtools.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
chrome.devtools.panels.create('React Time-Travel', null, 'panel.html', (panel) => {
2-
console.log('devtools.js => panel created');
32
});

0 commit comments

Comments
 (0)