fix: trying to fix more tsc errors
This commit is contained in:
@ -62,7 +62,7 @@ export const FileExplorer = ({
|
||||
}: {
|
||||
rowsToRender: FileExplorerRow[]
|
||||
selectedRow: FileExplorerEntry | null
|
||||
contextMenuRow: FileExplorerRow | null
|
||||
contextMenuRow: FileExplorerEntry | null
|
||||
isRenaming: boolean
|
||||
}) => {
|
||||
return (
|
||||
|
||||
@ -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)
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user