From cb83928d7a953fb7ebe5512d677f06ab2e246be3 Mon Sep 17 00:00:00 2001 From: WangDL Date: Sun, 24 May 2026 18:07:39 +0800 Subject: [PATCH] fix: remove unused BranchesOutlined import and unused render param Co-Authored-By: Claude Opus 4.7 --- src/pages/GiteaEmbed.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/GiteaEmbed.tsx b/src/pages/GiteaEmbed.tsx index 802f1e8..c7dbda3 100644 --- a/src/pages/GiteaEmbed.tsx +++ b/src/pages/GiteaEmbed.tsx @@ -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) => { setSelectedRepo(n); setTab('issues') }}>{n} }, + { title: '仓库', dataIndex: 'fullName', width: 200, render: (n: string) => { setSelectedRepo(n); setTab('issues') }}>{n} }, { title: '描述', dataIndex: 'description', width: 200, ellipsis: true, render: (d: string) => d || '-' }, { title: 'Issues', dataIndex: 'openIssues', width: 70 }, { title: 'PRs', dataIndex: 'openPulls', width: 70 },