fix: eslint errors

This commit is contained in:
alxshelepenok 2020-07-08 22:37:52 +03:00
parent 4a239f1a95
commit 74289df9f4
3 changed files with 0 additions and 3 deletions

View File

@ -71,5 +71,4 @@ const createPages = async ({ graphql, actions }) => {
await createPostsPages(graphql, actions);
};
module.exports = createPages;

View File

@ -1,4 +1,3 @@
// @flow strict
import React from 'react';
import renderer from 'react-test-renderer';

View File

@ -25,7 +25,6 @@ const IndexTemplate = ({ data, pageContext }: Props) => {
nextPagePath
} = pageContext;
const { edges } = data.allMarkdownRemark;
const pageTitle = currentPage > 0 ? `Posts - Page ${currentPage} - ${siteTitle}` : siteTitle;