import AdminBlogPreview from "@/views/AdminBlogPreview";

type Params = Promise<{ id: string }>;

export default async function AdminBlogPreviewPage({ params }: { params: Params }) {
  const { id } = await params;
  return <AdminBlogPreview postId={Number(id)} />;
}
