17 lines
381 B
TypeScript
17 lines
381 B
TypeScript
import ArticlePlansPage from "@/pages/article-plans";
|
|
|
|
export const dynamic = "force-dynamic";
|
|
|
|
type DynamicArticlePlansPageProps = {
|
|
params: Promise<{
|
|
articleId: string;
|
|
}>;
|
|
};
|
|
|
|
export default async function DynamicArticlePlansPage({
|
|
params,
|
|
}: DynamicArticlePlansPageProps) {
|
|
const { articleId } = await params;
|
|
return <ArticlePlansPage articleId={articleId} />;
|
|
}
|