mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-10-24 01:36:24 -04:00
bump some deps
This commit is contained in:
12 files changed
+279
-273
No files matched your search
@@ -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