Skip to content

Commit

Permalink
remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-Arc committed Jan 12, 2025
1 parent 897264f commit 528a6f7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion apps/client/src/common/utils/socket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ export const connectSocket = () => {
websocket.onmessage = (event) => {
try {
const data = JSON.parse(event.data);
console.log(data);
const { type, payload } = data;

if (!type) {
Expand Down Expand Up @@ -145,6 +144,7 @@ export const connectSocket = () => {
updateDevTools(payload);
break;
}
//TODO: remove all other types as they are now patched
case 'ontime-clock': {
patchRuntimeProperty('clock', payload);
updateDevTools({ clock: payload });
Expand Down
1 change: 0 additions & 1 deletion apps/server/src/adapters/WebsocketAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ export class SocketServer implements IAdapter {
}

public sendRuntimeStoreUpdate(keys: (keyof RuntimeStore)[], store: Partial<RuntimeStore>) {
console.log(keys);
const patch = {};
keys.map((key) => {
Object.assign(patch, { [key]: store[key] });
Expand Down

0 comments on commit 528a6f7

Please sign in to comment.