import { useFileTreeSelectable } from '../contexts/file-tree-selectable' import { useCallback } from 'react' type FileTreeInnerProps = { children: React.ReactNode } function FileTreeInner({ children }: FileTreeInnerProps) { const { setIsRootFolderSelected } = useFileTreeSelectable() const handleFileTreeClick = useCallback(() => { setIsRootFolderSelected(true) }, [setIsRootFolderSelected]) return ( // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
{children}
) } export default FileTreeInner