mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-01-24 20:42:23 +01:00
fix: eslint errors
This commit is contained in:
parent
4a239f1a95
commit
74289df9f4
@ -71,5 +71,4 @@ const createPages = async ({ graphql, actions }) => {
|
||||
await createPostsPages(graphql, actions);
|
||||
};
|
||||
|
||||
|
||||
module.exports = createPages;
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
// @flow strict
|
||||
import React from 'react';
|
||||
import renderer from 'react-test-renderer';
|
||||
|
@ -25,7 +25,6 @@ const IndexTemplate = ({ data, pageContext }: Props) => {
|
||||
nextPagePath
|
||||
} = pageContext;
|
||||
|
||||
|
||||
const { edges } = data.allMarkdownRemark;
|
||||
const pageTitle = currentPage > 0 ? `Posts - Page ${currentPage} - ${siteTitle}` : siteTitle;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user