Update AppImage

This commit is contained in:
MacRimi
2025-10-26 14:25:23 +01:00
parent 07b13d1374
commit 9640e558cd
3 changed files with 56 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ interface NetworkTrafficChartProps {
timeframe: string
interfaceName?: string
onTotalsCalculated?: (totals: { received: number; sent: number }) => void
refreshInterval?: number // En milisegundos, por defecto 60000 (60 segundos)
refreshInterval?: number // En milisegundos, por defecto 30000 (30 segundos)
}
const CustomNetworkTooltip = ({ active, payload, label }: any) => {
@@ -42,7 +42,7 @@ const NetworkTrafficChartComponent = ({
timeframe,
interfaceName,
onTotalsCalculated,
refreshInterval = 60000,
refreshInterval = 30000,
}: NetworkTrafficChartProps) => {
const [data, setData] = useState<NetworkMetricsData[]>([])
const [loading, setLoading] = useState(true)