diff --git a/docs/pages.md b/docs/pages.md index aa0cdcc8..559ceff5 100644 --- a/docs/pages.md +++ b/docs/pages.md @@ -21,7 +21,7 @@ function PageXYZ() { } // If we want this page to use a custom layout, we can add a static `Layout` function to it. -PageXYZ.Layout = PageXYZLayout(props: { children: React.ReactNode }) { +PageXYZ.Layout = function PageXYZLayout(props: { children: React.ReactNode }) { return
{props.children}
; } ```