Fix double-prefixing of profile picture.
This commit is contained in:
parent
601f3dcb9e
commit
a8602d1d7c
1 changed files with 1 additions and 2 deletions
|
|
@ -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',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue