import { ExternalLink } from 'lucide-react'; import { useTranslation } from 'react-i18next'; import type { ReleaseInfo } from '../../../../../../types/sharedTypes'; type VersionInfoSectionProps = { currentVersion: string; updateAvailable: boolean; latestVersion: string | null; releaseInfo: ReleaseInfo | null; }; export default function VersionInfoSection({ currentVersion, updateAvailable, latestVersion, releaseInfo, }: VersionInfoSectionProps) { const { t } = useTranslation('settings'); const releasesUrl = releaseInfo?.htmlUrl || 'https://github.com/siteboon/claudecodeui/releases'; return (