Cleanup unnecessary log and unused variable from last PR (#1279)

This commit is contained in:
Evan Simkowitz 2024-11-13 18:37:43 -08:00 committed by GitHub
parent d38f889bd6
commit db556f18b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 2 deletions

View File

@ -662,7 +662,6 @@ export class LayoutModel {
* @param leafOrder The new leaf order array to use when searching for stale nodes in the stack. * @param leafOrder The new leaf order array to use when searching for stale nodes in the stack.
*/ */
private validateFocusedNode(leafOrder: LeafOrderEntry[]) { private validateFocusedNode(leafOrder: LeafOrderEntry[]) {
console.log("validateFocusedNode", this.treeState.focusedNodeId, this.focusedNodeId, this.focusedNodeIdStack);
if (this.treeState.focusedNodeId !== this.focusedNodeId) { if (this.treeState.focusedNodeId !== this.focusedNodeId) {
// Remove duplicates and stale entries from focus stack. // Remove duplicates and stale entries from focus stack.
const newFocusedNodeIdStack: string[] = []; const newFocusedNodeIdStack: string[] = [];

View File

@ -332,7 +332,6 @@ export interface LayoutNodeAdditionalProps {
rect?: Dimensions; rect?: Dimensions;
pixelToSizeRatio?: number; pixelToSizeRatio?: number;
resizeHandles?: ResizeHandleProps[]; resizeHandles?: ResizeHandleProps[];
isLastEphemeralNode?: boolean;
} }
export interface NodeModel { export interface NodeModel {