"use client"; import { SimpleGrid, Stack } from "@mantine/core"; import { IconArrowDown, IconArrowUp, IconWaveSine } from "@tabler/icons-react"; import type { SpeedtestTrackerStats } from "@homarr/integrations/types"; import { useScopedI18n } from "@homarr/translation/client"; import { formatStatsSpeed } from "./helpers"; import { SectionLabel } from "./section-label"; import { SpeedStatCard } from "./speed-stat-card"; export function AveragesSection({ stats }: { stats: SpeedtestTrackerStats }) { const t = useScopedI18n("widget.speedtestTracker"); return ( {t("averages")} ยท {t("tests", { count: stats.total_results.toString() })} ); }