src/templates/blog-post.tsx
Function BlogPostPage
has 85 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const BlogPostPage = (props: BlogPostProps) => {
const { frontmatter, html, timeToRead } = props.data.post;
const avatar = frontmatter.author.avatar.children[0] as ImageSharp;
const tags = props.data.post.frontmatter.tags