import { ActivityChart } from "@/components/ActivityChart"; import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; import { useActivityStats } from "@/hooks/use-activity-stats"; import { useDashboardStats } from "@/hooks/use-dashboard-stats"; import { Activity as ActivityIcon, RefreshCw, Terminal } from "lucide-react"; export function Activity() { const { data: activityData, loading: activityLoading, refresh: refreshActivity } = useActivityStats(); const { stats, loading: statsLoading } = useDashboardStats(); return (
Real-time system logs and performance metrics.
Connecting to event stream...
No recent activity recorded
{event.message}
{new Date(event.timestamp).toLocaleString()}Error: Check system console for stack trace
)}