fix: update dependencies to latest

This commit is contained in:
Divlo committed 2023-01-10 23:56:46 +01:00
1 parent d76db36dbc
commit 042a861f58
17 files changed
+1761 -19431

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@ const BlogPostPage: NextPage<BlogPostPageProps> = (props) => {
export const getStaticProps: GetStaticProps<BlogPostPageProps> = async (
context
) => {
const slug = context?.params?.slug
const slug = context?.params?.['slug']
const { getPostBySlug } = await import('utils/blog')
const post = await getPostBySlug(slug)
if (post == null || (post != null && !post.frontmatter.isPublished)) {