mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-01-26 05:22:28 +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);
|
await createPostsPages(graphql, actions);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
module.exports = createPages;
|
module.exports = createPages;
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
// @flow strict
|
// @flow strict
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import renderer from 'react-test-renderer';
|
import renderer from 'react-test-renderer';
|
||||||
|
@ -25,7 +25,6 @@ const IndexTemplate = ({ data, pageContext }: Props) => {
|
|||||||
nextPagePath
|
nextPagePath
|
||||||
} = pageContext;
|
} = pageContext;
|
||||||
|
|
||||||
|
|
||||||
const { edges } = data.allMarkdownRemark;
|
const { edges } = data.allMarkdownRemark;
|
||||||
const pageTitle = currentPage > 0 ? `Posts - Page ${currentPage} - ${siteTitle}` : siteTitle;
|
const pageTitle = currentPage > 0 ? `Posts - Page ${currentPage} - ${siteTitle}` : siteTitle;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user