import { useId } from 'react' import type { GitRepositoryOption } from '../utils/gitRepositories' import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from '@/components/ui/select' interface GitRepositorySelectProps { label: string onChange: (path: string) => void repositories: GitRepositoryOption[] selectedPath: string testId?: string } export function GitRepositorySelect({ label, onChange, repositories, selectedPath, testId, }: GitRepositorySelectProps) { const triggerId = useId() if (repositories.length <= 1) return null return ( ) }