Skip to content

Commit

Permalink
refactor: removes logging
Browse files Browse the repository at this point in the history
  • Loading branch information
2xAA committed Aug 19, 2021
1 parent b4e2680 commit 322385e
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/application/worker/index.worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,6 @@ async function start() {
});

function sendCommitQueue() {
if (commitQueue.length === 0) {
return;
} else {
console.log("commitQueueLength", commitQueue.length);
}

const commits = JSON.stringify(commitQueue);
commitQueue.splice(0, commitQueue.length);

Expand Down Expand Up @@ -363,20 +357,11 @@ async function start() {
return JSON.stringify(preset);
}

if (identifier === "groups/REPLACE_GROUP_MODULES") {
console.log("message recieved");
}

/**
* @todo Don't JSON parse and stringify
*/
const value = await store[type](identifier, payload);

if (identifier === "groups/REPLACE_GROUP_MODULES") {
console.log("processed store shit");
debugger;
}

if (value) {
return JSON.parse(JSON.stringify(value));
}
Expand Down

0 comments on commit 322385e

Please sign in to comment.