Skip to content

Commit 528f416

Browse files
Merge pull request #227 from oslabs-beta/staging
Removing Console Logs
2 parents 37ae68c + 449fe8c commit 528f416

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

src/backend/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ function getRouteURL(node: SnapshotNode): string {
4444

4545
// * Event listener for time-travel actions
4646
window.addEventListener('message', ({ data: { action, payload } }: MsgData) => {
47-
console.log('payload',action)
4847
switch (action) {
4948
case 'jumpToSnap':
5049
timeJump(payload, true); // * This sets state with given payload

src/backend/linkFiber.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,6 @@ function createTree(
288288
(tag === 0 || tag === 1 || tag === 2 || tag === 10) &&
289289
isRecoil === true
290290
) {
291-
// console.log('Recoil Hooks Algo', currentFiber)
292291
if (memoizedState.queue) {
293292
// Hooks states are stored as a linked list using memoizedState.next,
294293
// so we must traverse through the list and get the states.
@@ -322,7 +321,6 @@ function createTree(
322321
(tag === 0 || tag === 1 || tag === 2 || tag === 10) &&
323322
isRecoil === false
324323
) {
325-
// console.log('Regular Hooks Algo', currentFiber)
326324
if (memoizedState.queue) {
327325
// Hooks states are stored as a linked list using memoizedState.next,
328326
// so we must traverse through the list and get the states.
@@ -351,7 +349,6 @@ function createTree(
351349

352350
// This grabs stateless components
353351
if (!componentFound && (tag === 0 || tag === 1 || tag === 2)) {
354-
// console.log('Stateless Algo', currentFiber)
355352
newState = 'stateless';
356353
}
357354

src/extension/background.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,6 @@ chrome.runtime.onMessage.addListener((request, sender) => {
341341
default:
342342
break;
343343
}
344-
// console.log('inside background.js, tabsObj:', tabsObj);
345344
return true; // attempt to fix close port error
346345
});
347346

0 commit comments

Comments
 (0)