Files
quantulr a8b1ad286d update
2023-11-06 17:27:50 +08:00

24 lines
543 B
TypeScript

import ArticleWithBreadcrumb from "@/app/_components/ArticleWithBreadcrumb";
import ArticleRender from "@/app/_components/ArticleRender";
import { articleDetail } from "@/app/_services/articles";
const Page = async ({
params,
}: {
params: {
articleId: string;
};
}) => {
const { articleId } = params;
const data = await articleDetail({ id: articleId });
return (
<>
<ArticleWithBreadcrumb breadcrumb={[]}>
<ArticleRender article={data} />
</ArticleWithBreadcrumb>
</>
);
};
export default Page;