import { BarGraph } from '@/features/overview/components/bar-graph';
import { getOverviewDashboardData } from '@/features/overview/server/overview-data';

export default async function BarStats() {
  const data = await getOverviewDashboardData();

  return <BarGraph data={data.hrd.departmentRanking} />;
}
