Skip to content

Commit

Permalink
remove excessive files & console log
Browse files Browse the repository at this point in the history
  • Loading branch information
syuChen1 committed Apr 16, 2022
1 parent 55508ce commit 80fe19b
Show file tree
Hide file tree
Showing 18 changed files with 1 addition and 493 deletions.
61 changes: 0 additions & 61 deletions client/src/Utils/analytics.js

This file was deleted.

3 changes: 0 additions & 3 deletions client/src/components/DayPanels/Utils/consoleHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ const readUntilClose = async (
.pipeThrough(new window.TransformStream(new LineBreakTransformer()))
.getReader();

console.log('reader opened');
let string = '';

plotData = [];
Expand All @@ -70,7 +69,6 @@ const readUntilClose = async (
reader.releaseLock();
break;
}
console.log(value);
if (type === 'notNewLine') {
string += value;
document.getElementById('console-content').innerHTML = string;
Expand Down Expand Up @@ -100,7 +98,6 @@ export const writeToPort = async (data) => {
writer = port.writable.getWriter();
data += '\n';
await writer.write(textEncoder.encode(data));
console.log(textEncoder.encode(data));
writer.releaseLock();
};

Expand Down
123 changes: 0 additions & 123 deletions client/src/components/DayPanels/consoleHelpers.js

This file was deleted.

Loading

0 comments on commit 80fe19b

Please sign in to comment.