src/pages/blog.tsx
Function BlogPage
has 65 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const BlogPage = (props: BlogProps) => {
const tags = props.data.tags.group;
const posts = props.data.posts.edges;
const { pathname } = props.location;
const pageCount = Math.ceil(props.data.posts.totalCount / 10);
TODO found Open
Open
// TODO export posts in a proper component
- Exclude checks