This commit is contained in:
Travis Fischer
2021-02-06 00:39:06 -05:00
parent afda065a24
commit c07548d53f
3 changed files with 4 additions and 18 deletions

View File

@@ -29,6 +29,9 @@ const createSitemap = (
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>${host}</loc>
</url>
<url>
<loc>${host}/</loc>
</url>

View File

@@ -25,15 +25,6 @@ export const getStaticProps = async (context) => {
// we don't want to publish the error version of this page, so
// let next.js know explicitly that incremental SSG failed
throw err
// return {
// props: {
// error: {
// statusCode: err.statusCode || 500,
// message: err.message
// }
// }
// }
}
}

View File

@@ -14,17 +14,9 @@ export const getStaticProps = async () => {
// we don't want to publish the error version of this page, so
// let next.js know explicitly that incremental SSG failed
throw err
// return {
// props: {
// error: {
// statusCode: err.statusCode || 500,
// message: err.message
// }
// }
// }
}
}
export default function NotionDomainPage(props) {
return <NotionPage {...props} />
}