Adding Gatsby's graphql import
To avoid warnings during dev process.
This commit is contained in:
parent
4a3683b9e2
commit
3cf7d7a625
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
import { Link } from 'gatsby'
|
import { Link, graphql } from 'gatsby'
|
||||||
import get from 'lodash/get'
|
import get from 'lodash/get'
|
||||||
import Helmet from 'react-helmet'
|
import Helmet from 'react-helmet'
|
||||||
|
|
||||||
|
|
@ -42,7 +42,7 @@ class BlogIndex extends React.Component {
|
||||||
export default BlogIndex
|
export default BlogIndex
|
||||||
|
|
||||||
export const pageQuery = graphql`
|
export const pageQuery = graphql`
|
||||||
query IndexQuery {
|
query {
|
||||||
site {
|
site {
|
||||||
siteMetadata {
|
siteMetadata {
|
||||||
title
|
title
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue