From 3607867472a45ed758313119e25430ab81902f08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=8Dcaro=20Guerra?= Date: Mon, 23 Dec 2024 12:19:57 -0300 Subject: [PATCH] chore: remove unnecessary console logs GitOrigin-RevId: 557eb7f353a3c22e05da08c33fdafa01641871bc --- platform/wab/src/wab/client/studio-ctx/StudioCtx.tsx | 5 ----- platform/wab/src/wab/shared/core/observable-model.ts | 1 - 2 files changed, 6 deletions(-) diff --git a/platform/wab/src/wab/client/studio-ctx/StudioCtx.tsx b/platform/wab/src/wab/client/studio-ctx/StudioCtx.tsx index 890a7d5a7ce..66c75403c9e 100644 --- a/platform/wab/src/wab/client/studio-ctx/StudioCtx.tsx +++ b/platform/wab/src/wab/client/studio-ctx/StudioCtx.tsx @@ -814,7 +814,6 @@ export class StudioCtx extends WithDbCtx { if (!currentArena) { return; } - console.log("running currentArena change", currentArena); const componentsToObserve = isDedicatedArena(currentArena) ? [currentArena.component] : currentArena.children.map( @@ -834,10 +833,6 @@ export class StudioCtx extends WithDbCtx { if (!currentViewCtxComponent) { return; } - console.log( - "running viewCtx component change", - currentViewCtxComponent - ); const componentsToObserve = [currentViewCtxComponent]; this.dbCtx().maybeObserveComponents( componentsToObserve, diff --git a/platform/wab/src/wab/shared/core/observable-model.ts b/platform/wab/src/wab/shared/core/observable-model.ts index deec3d97711..6c6ab578612 100644 --- a/platform/wab/src/wab/shared/core/observable-model.ts +++ b/platform/wab/src/wab/shared/core/observable-model.ts @@ -1509,7 +1509,6 @@ export class ChangeRecorder implements IChangeRecorder { this.observedCompsCache.set(component, currentTime); return observedNewComp; }, false); - console.log("Tried to observe", components, observedResult); if (observedResult) { mutateGlobalObservable(); console.log("Mutated global state");