import { PeriodPicker } from "@/components/period-picker"; import { cn } from "@/lib/utils"; import { getDevicesUsedData } from "@/services/charts.services"; import { DonutChart } from "./chart"; type PropsType = { timeFrame?: string; className?: string; }; export async function UsedDevices({ timeFrame = "monthly", className, }: PropsType) { const data = await getDevicesUsedData(timeFrame); return (