mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-03 15:06:36 -04:00
bump some deps
This commit is contained in:
@ -70,7 +70,7 @@ const Note = ({ frontMatter, source }: InferGetStaticPropsType<typeof getStaticP
|
||||
};
|
||||
|
||||
export const getStaticProps: GetStaticProps<NoteWithSource, Pick<NoteFrontMatter, "slug">> = async ({ params }) => {
|
||||
if (!params || !params.slug) {
|
||||
if (!params?.slug) {
|
||||
return {
|
||||
notFound: true,
|
||||
};
|
||||
|
Reference in New Issue
Block a user