import Prose from 'components/prose'; import { wordpress } from 'lib/wordpress/wordpress'; import { notFound } from 'next/navigation'; export default async function ArticlePage(props: { params: Promise<{ id: string }> }) { const { id } = await props.params; const article = await wordpress.get(`posts/${id}`); if (!article) return notFound(); return (

{article.title.rendered}

); }