We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ec9b20 commit 6b048e1Copy full SHA for 6b048e1
libs/remix-ui/workspace/src/lib/utils/index.ts
@@ -125,6 +125,7 @@ export const contextMenuActions: MenuItems = [{
125
}]
126
127
export const fileKeySort = (fileTree: any) => {
128
+ fileTree = fileTree || {}
129
const directories = Object.keys(fileTree).filter((key: string) => !key.includes('....blank') && fileTree[key].isDirectory)
130
131
directories.sort((a: string, b: string) => a.toLowerCase().localeCompare(b.toLowerCase()))
0 commit comments