diff --git a/src/components/AlertBlock.tsx b/src/components/AlertBlock.tsx index 68986c6fe..4c474ba95 100644 --- a/src/components/AlertBlock.tsx +++ b/src/components/AlertBlock.tsx @@ -8,7 +8,7 @@ import AlertSection from './AlertSection' import MarkdownContent from './MarkdownContent' export interface AlertBlockProps { - page: AlertPage + page?: AlertPage className?: string } @@ -23,7 +23,7 @@ const AlertBlock: FC = ({ page, className }) => { ) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index c5d2f0d64..07d658dc5 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -24,7 +24,7 @@ const Layout: FC = ({ children }) => { id="mainContent" className="container mx-auto mt-5 flex-1 px-4 pb-8" > - + {children}