Run npm run fix

This commit is contained in:
prototypa
2024-12-10 19:42:33 -05:00
parent 8544668963
commit 082ab1165e
2 changed files with 2 additions and 2 deletions

2
package-lock.json generated
View File

@@ -10782,4 +10782,4 @@
}
}
}
}
}

View File

@@ -8,7 +8,7 @@ export const readingTimeRemarkPlugin: RemarkPlugin = () => {
const textOnPage = toString(tree);
const readingTime = Math.ceil(getReadingTime(textOnPage).minutes);
if (typeof file?.data?.astro?.frontmatter !== "undefined") {
if (typeof file?.data?.astro?.frontmatter !== 'undefined') {
file.data.astro.frontmatter.readingTime = readingTime;
}
};