Merge pull request #25 from hsribei/master

Fix double-prefixing of profile picture.
This commit is contained in:
Kyle Mathews 2017-03-27 09:57:52 -04:00 committed by GitHub
commit 38e6579146

View file

@ -1,7 +1,6 @@
import React from 'react'
import { config } from 'config'
import { rhythm } from 'utils/typography'
import { prefixLink } from 'gatsby-helpers'
import profilePic from './profile-pic.jpg'
class Bio extends React.Component {
@ -13,7 +12,7 @@ class Bio extends React.Component {
}}
>
<img
src={prefixLink(profilePic)}
src={profilePic}
alt={`author ${config.authorName}`}
style={{
float: 'left',