fix(task-024): make demo browser flow reachable
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
import ArticlePlansPage from "@/pages/article-plans";
|
||||
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
type DynamicArticlePlansPageProps = {
|
||||
params: {
|
||||
params: Promise<{
|
||||
articleId: string;
|
||||
};
|
||||
}>;
|
||||
};
|
||||
|
||||
export default async function DynamicArticlePlansPage({
|
||||
params,
|
||||
}: DynamicArticlePlansPageProps) {
|
||||
const { articleId } = params;
|
||||
const { articleId } = await params;
|
||||
return <ArticlePlansPage articleId={articleId} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user