fix(ui): remove unused translation import in FileChangeItem

This commit is contained in:
dongmucat 2026-04-23 15:24:10 +08:00
parent 93b9225fd1
commit 383db14d62

View file

@ -115,7 +115,6 @@ function FileChangeItem({
changeType: 'added' | 'removed' | 'modified'
}) {
const [isOpen, setIsOpen] = useState(false)
const { t } = useTranslation()
const Icon = changeType === 'added' ? FilePlus : changeType === 'removed' ? FileMinus : FileEdit
const iconColor = changeType === 'added' ? 'text-emerald-500' : changeType === 'removed' ? 'text-red-500' : 'text-amber-500'