Fix double-prefixing of profile picture.

This commit is contained in:
Helder S Ribeiro 2017-03-25 20:02:40 -04:00
parent 601f3dcb9e
commit a8602d1d7c

View file

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