Correct path + remove unneeded graphql import

This commit is contained in:
Kyle Mathews 2018-02-26 17:01:18 -08:00 committed by Shawn Erquhart
parent bdb1abdebc
commit 8e33279b6b
5 changed files with 3 additions and 7 deletions

View file

@ -1,6 +1,6 @@
---
templateKey: blog-post
path: making-sense
path: /making-sense
title: Making sense of the SCAAs new Flavor Wheel
date: 2016-12-17T15:04:10.000Z
description: The Coffee Tasters Flavor Wheel, the official resource used by coffee tasters, has been revised for the first time this year.

View file

@ -1,6 +1,5 @@
import React from 'react'
import Link from 'gatsby-link'
import graphql from 'graphql'
export default class IndexPage extends React.Component {
render() {

View file

@ -1,5 +1,4 @@
import React from 'react'
import graphql from 'graphql'
import Content, { HTMLContent } from '../components/Content'
export const AboutPageTemplate = ({ title, content, contentComponent }) => {

View file

@ -1,5 +1,4 @@
import React from 'react'
import graphql from 'graphql'
import Helmet from 'react-helmet'
import Content, { HTMLContent } from '../components/Content'
@ -30,8 +29,8 @@ export const BlogPostTemplate = ({
)
}
export default ({ data }) => {
const { markdownRemark: post } = data
export default props => {
const { markdownRemark: post } = props.data
return (
<BlogPostTemplate

View file

@ -1,5 +1,4 @@
import React from 'react'
import graphql from 'graphql'
import Features from '../components/Features'
import Testimonials from '../components/Testimonials'
import Pricing from '../components/Pricing'