Spaces:
Runtime error
Runtime error
| "use client"; | |
| import { Skeleton } from "@/shared/components/Loading"; | |
| export default function AnalyticsLoading() { | |
| return ( | |
| <div className="space-y-6" role="status" aria-live="polite" aria-busy="true"> | |
| <Skeleton className="h-8 w-40" /> | |
| <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4"> | |
| {[0, 1, 2, 3].map((index) => ( | |
| <Skeleton key={index} className="h-24 rounded-lg" /> | |
| ))} | |
| </div> | |
| <Skeleton className="h-64 rounded-lg" /> | |
| </div> | |
| ); | |
| } | |