Skip to content

Commit

Permalink
fix(gatsby-starter-blog): Fix global access to graphql in blog starte…
Browse files Browse the repository at this point in the history
…r's 404 (#10923)

Global access to `graphql` (which is deprecated) got added accidentally in https://github.com/gatsbyjs/gatsby/pull/10865/files

This fixes that and gets rids of the annoying warning in the output
![screenshot 2019-01-08 22 52 33](https://user-images.githubusercontent.com/7701981/50847634-1af91900-1398-11e9-97f5-a5ea812fc873.png)
  • Loading branch information
sidharthachatterjee authored and DSchau committed Jan 8, 2019
1 parent e831b42 commit fdcbe65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions starters/blog/src/pages/404.js
@@ -1,4 +1,5 @@
import React from 'react'
import { graphql } from 'gatsby'

import Layout from '../components/Layout'
import SEO from '../components/seo'
Expand Down

0 comments on commit fdcbe65

Please sign in to comment.