fix: trying to fix more tsc errors
This commit is contained in:
@ -62,7 +62,7 @@ export const FileExplorer = ({
|
|||||||
}: {
|
}: {
|
||||||
rowsToRender: FileExplorerRow[]
|
rowsToRender: FileExplorerRow[]
|
||||||
selectedRow: FileExplorerEntry | null
|
selectedRow: FileExplorerEntry | null
|
||||||
contextMenuRow: FileExplorerRow | null
|
contextMenuRow: FileExplorerEntry | null
|
||||||
isRenaming: boolean
|
isRenaming: boolean
|
||||||
}) => {
|
}) => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@ -600,9 +600,10 @@ export const ProjectExplorer = ({
|
|||||||
setActiveIndex(CONTAINER_IS_SELECTED)
|
setActiveIndex(CONTAINER_IS_SELECTED)
|
||||||
}
|
}
|
||||||
|
|
||||||
const handleBlur = (event) => {
|
const handleBlur = (event: FocusEvent) => {
|
||||||
const path = event.composedPath ? event.composedPath() : []
|
const path = event.composedPath ? event.composedPath() : []
|
||||||
if (
|
if (
|
||||||
|
projectExplorerRef.current instanceof HTMLDivElement &&
|
||||||
fileExplorerContainer.current &&
|
fileExplorerContainer.current &&
|
||||||
!path.includes(projectExplorerRef.current)
|
!path.includes(projectExplorerRef.current)
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user