Skip to content

Commit b34bc88

Browse files
authored
✨ fix: lint error
1 parent f60aff5 commit b34bc88

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/pages/blog/[...slug].astro

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,7 @@ function formatDate(date: Date): string {
9797
9898
// Calculate reading time if not in frontmatter
9999
const wordCount = (post.body ?? "").split(/\s+/).filter(Boolean).length;
100-
const readingTime =
101-
post.data.readingTime || Math.ceil(wordCount / 200);
100+
const readingTime = post.data.readingTime || Math.ceil(wordCount / 200);
102101
103102
// Build the structured data graph
104103
const structuredDataGraph: Record<string, unknown>[] = [

0 commit comments

Comments
 (0)