fix: remove unused BranchesOutlined import and unused render param
All checks were successful
Deploy Admin Frontend / build-and-deploy (push) Successful in 8s

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
WangDL 2026-05-24 18:07:39 +08:00
parent 471669c6cf
commit cb83928d7a

View File

@ -1,6 +1,6 @@
import { useState } from 'react'
import { Table, Tag, Tabs, Typography, Card, Row, Col, Spin } from 'antd'
import { CodeOutlined, BranchesOutlined, RocketOutlined } from '@ant-design/icons'
import { CodeOutlined, RocketOutlined } from '@ant-design/icons'
import { useQuery } from '@tanstack/react-query'
import { api } from '@/services/http-client'
@ -42,7 +42,7 @@ export default function ProjectCenter() {
})
const repoColumns = [
{ title: '仓库', dataIndex: 'fullName', width: 200, render: (n: string, r: any) => <a onClick={() => { setSelectedRepo(n); setTab('issues') }}>{n}</a> },
{ title: '仓库', dataIndex: 'fullName', width: 200, render: (n: string) => <a onClick={() => { setSelectedRepo(n); setTab('issues') }}>{n}</a> },
{ title: '描述', dataIndex: 'description', width: 200, ellipsis: true, render: (d: string) => d || '-' },
{ title: 'Issues', dataIndex: 'openIssues', width: 70 },
{ title: 'PRs', dataIndex: 'openPulls', width: 70 },