diff --git a/app/[page]/page.tsx b/app/[page]/page.tsx index 60bcc892c..aa0c15603 100644 --- a/app/[page]/page.tsx +++ b/app/[page]/page.tsx @@ -32,7 +32,7 @@ export default async function Page(props: { params: Promise<{ page: string }> }) return ( <>

{page.title}

- +

{`This document was last updated on ${new Intl.DateTimeFormat(undefined, { year: 'numeric', diff --git a/components/prose.tsx b/components/prose.tsx index f910d2296..0cf460f8b 100644 --- a/components/prose.tsx +++ b/components/prose.tsx @@ -1,19 +1,13 @@ import clsx from 'clsx'; -import type { FunctionComponent } from 'react'; -interface TextProps { - html: string; - className?: string; -} - -const Prose: FunctionComponent = ({ html, className }) => { +const Prose = ({ html, className }: { html: string; className?: string }) => { return (

); };