diff --git a/src/templates/docs.tsx b/src/templates/docs.tsx index a8de7f4f260..c447fb49f46 100644 --- a/src/templates/docs.tsx +++ b/src/templates/docs.tsx @@ -178,7 +178,7 @@ const DocsPage = ({ const isRightToLeft = isLangRightToLeft(mdx.frontmatter.lang as Lang) const tocItems = mdx.tableOfContents?.items - const isPageIncomplete = mdx.frontmatter.incomplete + const isPageIncomplete = !!mdx.frontmatter.incomplete const { editContentUrl } = siteData.siteMetadata || {} const { relativePath, slug } = pageContext