From a31518dc3df671930432673d3cc355f8570efbe8 Mon Sep 17 00:00:00 2001 From: Matt Date: Wed, 22 Aug 2018 15:37:41 +1000 Subject: [PATCH] Import graphql from gatsby (#119) Removes warning message for deprecation --- src/templates/blog-post.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/blog-post.js b/src/templates/blog-post.js index 049ffcd..dbf2919 100644 --- a/src/templates/blog-post.js +++ b/src/templates/blog-post.js @@ -1,6 +1,6 @@ import React from 'react' import Helmet from 'react-helmet' -import { Link } from 'gatsby' +import { Link,graphql } from 'gatsby' import get from 'lodash/get' import Bio from '../components/Bio'