From 3f0c2ed39d1015890fcf5c4232c53b8946177155 Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Sat, 30 Nov 2024 22:26:13 +0800 Subject: [PATCH] feat: net transfer badge --- src/components/GroupSwitch.tsx | 4 +--- src/components/ServerCard.tsx | 16 ++++++++++++++++ src/components/ServerDetailChart.tsx | 22 +++++++++++----------- src/components/ServerDetailOverview.tsx | 8 ++++++-- src/components/ServerOverview.tsx | 3 ++- src/lib/format.ts | 16 +++++++++++++--- src/lib/utils.ts | 24 +----------------------- src/pages/Server.tsx | 16 +++++++++++----- 8 files changed, 61 insertions(+), 48 deletions(-) diff --git a/src/components/GroupSwitch.tsx b/src/components/GroupSwitch.tsx index 7a3f73d..6baf7d0 100644 --- a/src/components/GroupSwitch.tsx +++ b/src/components/GroupSwitch.tsx @@ -11,9 +11,7 @@ export default function GroupSwitch({ setCurrentTab: (tab: string) => void; }) { return ( -