import {
  Card,
  CardHeader,
  CardTitle,
  CardContent,
} from "@/shared/common/ui/card";
import { EditPositionForm } from "@/user-management/components/position-management/EditPositionForm";
import { useParams } from "react-router-dom";

const EditPositionPage = () => {
  const { id } = useParams();

  return (
    <div className="p-6 max-w-3xl mx-auto">
      <Card>
        <CardHeader>
          <CardTitle>View Permission Type</CardTitle>
        </CardHeader>
        <CardContent>
          <EditPositionForm id={id as string} />
        </CardContent>
      </Card>
    </div>
  );
};

export default EditPositionPage;
