4
0
forked from crowetic/commerce

UI Tweaks

This commit is contained in:
Belen Curcio 2020-10-26 12:33:56 -03:00
parent 8ea2f5c34e
commit 52dbbb8ad8

View File

@ -44,7 +44,7 @@ export default function Pages({
}: InferGetStaticPropsType<typeof getStaticProps>) {
return (
<div className="max-w-2xl mx-auto py-20">
<HTMLContent html={page.body} />
{page?.body && <HTMLContent html={page.body} />}
</div>
)
}