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

@@ -0,0 +1,28 @@
import { Card, CardHeader, CardTitle, CardContent } from "@/components/ui/card"
import NetworkTrafficChart from "@/components/NetworkTrafficChart" // Ensure this path is correct
const timeframe = "1h" // Declare timeframe variable
const handleTotalsCalculated = (totals) => {
console.log("Totals calculated:", totals)
} // Declare handleTotalsCalculated function
export default function Page({ id }) {
return (
<>
{/* ... other code here ... */}
<Card>
<CardHeader>
<CardTitle>Network Traffic</CardTitle>
</CardHeader>
<CardContent>
<NetworkTrafficChart
timeframe={timeframe}
onTotalsCalculated={handleTotalsCalculated}
refreshInterval={30000}
/>
</CardContent>
</Card>
{/* ... rest of code here ... */}
</>
)
}