import { type ReactElement } from 'react';
import { Layout } from '@/components/layout/Layout';
import { DepartmentsTable } from '@/components/superadmin';

const Departments = (): ReactElement => {
  return (
    <Layout
      currentPage="Departments"
      pageHeader={{
        title: 'Department Management',
        description: 'View and manage all departments within your organization.',
      }}
    >
      <DepartmentsTable />
    </Layout>
  );
};

export default Departments;
