Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Commit

Permalink
perf: removing dead GraphQL query
Browse files Browse the repository at this point in the history
  • Loading branch information
haysclark committed Mar 7, 2018
1 parent 2c46366 commit b9d4133
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions src/templates/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,26 +125,7 @@ class IndexTemplate extends React.Component {
/* eslint no-undef: "off" */
export const pageQuery = graphql`
query IndexQuery {
allMarkdownRemark(
limit: 2000
sort: { fields: [frontmatter___date], order: DESC }
) {
edges {
node {
fields {
slug
}
excerpt
timeToRead
frontmatter {
title
tags
cover
date
}
}
}
}
# posts data comes from the context
# authors
authors: allAuthorsJson {
edges {
Expand Down

0 comments on commit b9d4133

Please sign in to comment.