Skip to content

Commit

Permalink
fix blog content generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Themezv committed Mar 23, 2024
1 parent 559ed55 commit d68ecc2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/blog/contentlayer.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ const extractSlug = flattenedPath => {
const pathSegments = flattenedPath.split('/')
const lastSegment = pathSegments.at(-1)

assert(lastSegment)

return lastSegment.split('.')[0]
}

Expand Down

0 comments on commit d68ecc2

Please sign in to comment.