fix: remove unused BranchesOutlined import and unused render param
All checks were successful
Deploy Admin Frontend / build-and-deploy (push) Successful in 8s
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:
parent
471669c6cf
commit
cb83928d7a
@ -1,6 +1,6 @@
|
|||||||
import { useState } from 'react'
|
import { useState } from 'react'
|
||||||
import { Table, Tag, Tabs, Typography, Card, Row, Col, Spin } from 'antd'
|
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 { useQuery } from '@tanstack/react-query'
|
||||||
import { api } from '@/services/http-client'
|
import { api } from '@/services/http-client'
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ export default function ProjectCenter() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
const repoColumns = [
|
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: '描述', dataIndex: 'description', width: 200, ellipsis: true, render: (d: string) => d || '-' },
|
||||||
{ title: 'Issues', dataIndex: 'openIssues', width: 70 },
|
{ title: 'Issues', dataIndex: 'openIssues', width: 70 },
|
||||||
{ title: 'PRs', dataIndex: 'openPulls', width: 70 },
|
{ title: 'PRs', dataIndex: 'openPulls', width: 70 },
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user