CI빌드 오류 수정
CI / test (push) Successful in 4m48s
CI / e2e (push) Has been skipped
CI / pr_and_merge (push) Successful in 1m13s

This commit is contained in:
2025-12-07 10:12:38 +09:00
parent a5b432fb7b
commit 4902a0b5a9
5 changed files with 22 additions and 15 deletions
+6 -1
View File
@@ -50,7 +50,12 @@ export default async function PublicProjectPage({ params }: PageParams) {
notFound();
}
blocks = (project.contentJson ?? []) as Block[];
const rawContent = project.contentJson;
let contentBlocks: Block[] = [];
if (Array.isArray(rawContent)) {
contentBlocks = rawContent as unknown as Block[];
}
blocks = contentBlocks;
title = project.title;
}