1
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:
2022-07-13 16:00:44 -04:00
parent 9be41b5e5c
commit 39ef018537
12 changed files with 279 additions and 273 deletions

View File

@ -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,
};