From be7c67f505ce9ef1d0aac27d2b875eb67e33b232 Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Tue, 15 Sep 2026 09:33:54 +0800 Subject: [PATCH] fix(1895): components/common/PointsBadge/index.tsx - TS/Lint fixes (ThunderboltOutlined/actions/typed/no-unused) --- .../web/src/components/common/PointsBadge/index.tsx | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/apps/web/src/components/common/PointsBadge/index.tsx b/apps/web/src/components/common/PointsBadge/index.tsx index 4cbfff498..99512421a 100644 --- a/apps/web/src/components/common/PointsBadge/index.tsx +++ b/apps/web/src/components/common/PointsBadge/index.tsx @@ -5,7 +5,12 @@ */ import React, { useEffect } from "react" import { Popover, Button, Tag, Space, Typography, Badge } from "antd" -import { DiamondOutlined, CrownOutlined, RightOutlined, WarningOutlined } from "@ant-design/icons" +import { + ThunderboltOutlined, + CrownOutlined, + RightOutlined, + WarningOutlined, +} from "@ant-design/icons" import { useNavigate } from "react-router-dom" import { usePointsStore } from "@/store/pointsStore" import "./PointsBadge.css" @@ -38,7 +43,7 @@ const PointsBadge: React.FC = () => {
- + {loading ? "…" : bal} 积分
@@ -73,7 +78,7 @@ const PointsBadge: React.FC = () => {