Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
catalinred committed Jul 29, 2024
1 parent ff81108 commit 1b9bad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/markdown/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function getPostBySlug(path, slug) {
const date =
data.date && typeof data.date !== "string"
? format(data.date, "MMMM dd, yyyy")
: data.date ?? null;
: (data.date ?? null);
return {
path: realSlug,
frontmatter: { ...data, date, reviewed: true },
Expand Down

0 comments on commit 1b9bad9

Please sign in to comment.