Adding Gatsby's graphql import

To avoid warnings during dev process.
This commit is contained in:
Matt 2018-07-29 20:54:36 +10:00 committed by GitHub
parent 4a3683b9e2
commit 3cf7d7a625
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
import React from 'react'
import { Link } from 'gatsby'
import { Link, graphql } from 'gatsby'
import get from 'lodash/get'
import Helmet from 'react-helmet'
@ -42,7 +42,7 @@ class BlogIndex extends React.Component {
export default BlogIndex
export const pageQuery = graphql`
query IndexQuery {
query {
site {
siteMetadata {
title