From db556f18b80b1890c8fff0420bb5b7ef842ffa45 Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Wed, 13 Nov 2024 18:37:43 -0800 Subject: [PATCH] Cleanup unnecessary log and unused variable from last PR (#1279) --- frontend/layout/lib/layoutModel.ts | 1 - frontend/layout/lib/types.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/frontend/layout/lib/layoutModel.ts b/frontend/layout/lib/layoutModel.ts index d0009fc5c..17ff921de 100644 --- a/frontend/layout/lib/layoutModel.ts +++ b/frontend/layout/lib/layoutModel.ts @@ -662,7 +662,6 @@ export class LayoutModel { * @param leafOrder The new leaf order array to use when searching for stale nodes in the stack. */ private validateFocusedNode(leafOrder: LeafOrderEntry[]) { - console.log("validateFocusedNode", this.treeState.focusedNodeId, this.focusedNodeId, this.focusedNodeIdStack); if (this.treeState.focusedNodeId !== this.focusedNodeId) { // Remove duplicates and stale entries from focus stack. const newFocusedNodeIdStack: string[] = []; diff --git a/frontend/layout/lib/types.ts b/frontend/layout/lib/types.ts index 531bb8a52..2ff7c7907 100644 --- a/frontend/layout/lib/types.ts +++ b/frontend/layout/lib/types.ts @@ -332,7 +332,6 @@ export interface LayoutNodeAdditionalProps { rect?: Dimensions; pixelToSizeRatio?: number; resizeHandles?: ResizeHandleProps[]; - isLastEphemeralNode?: boolean; } export interface NodeModel {