fix: Remove redundant text label for average packet loss in NetworkChart component

This commit is contained in:
hamster1963
2026-02-16 00:19:48 +08:00
parent abb39c3dc1
commit 816f6e7f9e
2 changed files with 3372 additions and 1 deletions
+3372
View File
File diff suppressed because it is too large Load Diff
-1
View File
@@ -342,7 +342,6 @@ export const NetworkChartClient = React.memo(function NetworkChart({
{avgPacketLoss !== null && ( {avgPacketLoss !== null && (
<span className="text-muted-foreground flex items-center gap-1"> <span className="text-muted-foreground flex items-center gap-1">
{avgPacketLoss.toFixed(2)}% {avgPacketLoss.toFixed(2)}%
<p className=" hidden sm:block">avg loss</p>
</span> </span>
)} )}
</div> </div>