mirror of
https://github.com/vercel/commerce.git
synced 2025-07-31 14:01:24 +00:00
Refactor <Prose> component (#1352)
This commit is contained in:
@@ -32,7 +32,7 @@ export default async function Page(props: { params: Promise<{ page: string }> })
|
||||
return (
|
||||
<>
|
||||
<h1 className="mb-8 text-5xl font-bold">{page.title}</h1>
|
||||
<Prose className="mb-8" html={page.body as string} />
|
||||
<Prose className="mb-8" html={page.body} />
|
||||
<p className="text-sm italic">
|
||||
{`This document was last updated on ${new Intl.DateTimeFormat(undefined, {
|
||||
year: 'numeric',
|
||||
|
Reference in New Issue
Block a user