diff --git a/package.json b/package.json index 36fb37e..4bbbdb7 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ }, "devDependencies": { "gh-pages": "^0.12.0", - "prettier": "^1.5.3" + "prettier": "^1.6.1" }, "homepage": "https://github.com/gatsbyjs/gatsby-starter-blog#readme", "keywords": [ diff --git a/src/pages/index.js b/src/pages/index.js index 1a6f115..ed1e104 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -1,42 +1,38 @@ -import React from "react" -import Link from "gatsby-link" -import get from "lodash/get" -import Helmet from "react-helmet" +import React from 'react' +import Link from 'gatsby-link' +import get from 'lodash/get' +import Helmet from 'react-helmet' -import Bio from "../components/Bio" -import { rhythm } from "../utils/typography" +import Bio from '../components/Bio' +import { rhythm } from '../utils/typography' class BlogIndex extends React.Component { render() { - const siteTitle = get(this, "props.data.site.siteMetadata.title") - const posts = get(this, "props.data.allMarkdownRemark.edges") + const siteTitle = get(this, 'props.data.site.siteMetadata.title') + const posts = get(this, 'props.data.allMarkdownRemark.edges') return (