From 3fec8927e882310497a37a9c9653c235479a905d Mon Sep 17 00:00:00 2001 From: n30nex Date: Sun, 20 Sep 2026 12:28:45 -0400 Subject: [PATCH] fix(stats): distinguish analytics navigation icons --- src/features/stats/StatsSubHeader.tsx | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/src/features/stats/StatsSubHeader.tsx b/src/features/stats/StatsSubHeader.tsx index fc03ea80..0d76fad4 100644 --- a/src/features/stats/StatsSubHeader.tsx +++ b/src/features/stats/StatsSubHeader.tsx @@ -3,6 +3,25 @@ import { SelectDropdown } from "../../components/SelectDropdown"; import { useIsMobile } from "../../hooks/useMediaQuery"; import type { StatsRange, StatsTab } from "./types"; +function TrafficIcon() { + return + + ; +} + +function ScopesIcon() { + return + + ; +} + +function CompareIcon() { + return + + + ; +} + function MeshIcon() { return ( @@ -56,12 +75,12 @@ function GraphIcon() { const TAB_OPTIONS = [ { value: "mesh", label: "Mesh", icon: }, - { value: "traffic", label: "Traffic", icon: }, - { value: "scopes", label: "Scopes", icon: }, + { value: "traffic", label: "Traffic", icon: }, + { value: "scopes", label: "Scopes", icon: }, { value: "talkers", label: "Talkers", icon: }, { value: "clockdrift", label: "Clock Drift", icon: }, { value: "observer", label: "Observer", icon: }, - { value: "compare", label: "Compare observers", icon: }, + { value: "compare", label: "Compare observers", icon: }, { value: "graph", label: "Neighbour Graph", icon: }, ];