"use client";

import { useParams } from "next/navigation";
import ValidationEditor from "@/components/validations/validation-editor";

export default function EditValidationPage() {
  const params = useParams<{ id: string }>();
  return <ValidationEditor validationId={params.id} />;
}
