Skip to content

Commit

Permalink
Merge pull request #227 from oslabs-beta/staging
Browse files Browse the repository at this point in the history
Removing Console Logs
  • Loading branch information
SanjayLavingia authored Oct 30, 2020
2 parents 37ae68c + 449fe8c commit 528f416
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/backend/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ function getRouteURL(node: SnapshotNode): string {

// * Event listener for time-travel actions
window.addEventListener('message', ({ data: { action, payload } }: MsgData) => {
console.log('payload',action)
switch (action) {
case 'jumpToSnap':
timeJump(payload, true); // * This sets state with given payload
Expand Down
3 changes: 0 additions & 3 deletions src/backend/linkFiber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,6 @@ function createTree(
(tag === 0 || tag === 1 || tag === 2 || tag === 10) &&
isRecoil === true
) {
// console.log('Recoil Hooks Algo', currentFiber)
if (memoizedState.queue) {
// Hooks states are stored as a linked list using memoizedState.next,
// so we must traverse through the list and get the states.
Expand Down Expand Up @@ -322,7 +321,6 @@ function createTree(
(tag === 0 || tag === 1 || tag === 2 || tag === 10) &&
isRecoil === false
) {
// console.log('Regular Hooks Algo', currentFiber)
if (memoizedState.queue) {
// Hooks states are stored as a linked list using memoizedState.next,
// so we must traverse through the list and get the states.
Expand Down Expand Up @@ -351,7 +349,6 @@ function createTree(

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

Expand Down
1 change: 0 additions & 1 deletion src/extension/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,6 @@ chrome.runtime.onMessage.addListener((request, sender) => {
default:
break;
}
// console.log('inside background.js, tabsObj:', tabsObj);
return true; // attempt to fix close port error
});

Expand Down

0 comments on commit 528f416

Please sign in to comment.