"use client";

import { useParams } from "next/navigation";
import ImageDetail from "@/components/main/content/image-detail";

export default function DetailImageInfo() {
  const params = useParams();
  const id = params?.id as string;

  return <ImageDetail id={id} />;
}
