From ccc7ec93b51ee3ce0de1736a9988a5cab58f4c75 Mon Sep 17 00:00:00 2001 From: Kevin Date: Thu, 26 Jun 2025 11:58:23 -0500 Subject: [PATCH] fix: I thought I fixed this typo already --- src/components/Explorer/utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Explorer/utils.ts b/src/components/Explorer/utils.ts index 836cf3237..15d2f5d25 100644 --- a/src/components/Explorer/utils.ts +++ b/src/components/Explorer/utils.ts @@ -84,11 +84,11 @@ const flattenProjectHelper = ( list: FileExplorerEntry[], // accumulator list that is built up through recursion parentPath: string, // the parentPath for the given f:FileEntry passed in level: number, // the level within the tree for the given f:FileEntry, level starts at 0 goes to positive N - numberOfSibilings: number, + numberOfSiblings: number, iterationIndex: number ) => { const index = list.length - const setSize = numberOfSibilings - 2 // for fake folder and file! + const setSize = numberOfSiblings - 2 // for fake folder and file! const positionInSet = iterationIndex - 2 // mark the parent and level of the FileEntry const content: FileExplorerEntry = {