fix: trying to fix more tsc errors

This commit is contained in:
Kevin
2025-06-24 13:29:47 -05:00
parent 7da6d7adf4
commit ab29916bff
2 changed files with 3 additions and 2 deletions

View File

@ -62,7 +62,7 @@ export const FileExplorer = ({
}: {
rowsToRender: FileExplorerRow[]
selectedRow: FileExplorerEntry | null
contextMenuRow: FileExplorerRow | null
contextMenuRow: FileExplorerEntry | null
isRenaming: boolean
}) => {
return (

View File

@ -600,9 +600,10 @@ export const ProjectExplorer = ({
setActiveIndex(CONTAINER_IS_SELECTED)
}
const handleBlur = (event) => {
const handleBlur = (event: FocusEvent) => {
const path = event.composedPath ? event.composedPath() : []
if (
projectExplorerRef.current instanceof HTMLDivElement &&
fileExplorerContainer.current &&
!path.includes(projectExplorerRef.current)
) {