Merge pull request #34 from charandas/patch-1

prefixLink unnecessary for profilePic Closes #32
This commit is contained in:
Alexander S 2017-03-08 18:53:09 +02:00 committed by GitHub
commit d2ab0f6133

View File

@ -15,7 +15,7 @@ class SiteSidebar extends React.Component {
let header = (
<header>
<Link style={ { textDecoration: 'none', borderBottom: 'none', outline: 'none'} } to={ prefixLink('/') }>
<img src={prefixLink(profilePic)} width='75' height='75' />
<img src={profilePic} width='75' height='75' />
</Link>
{ isHome ? (
<h1><Link style={ { textDecoration: 'none', borderBottom: 'none', color: 'inherit'} } to={ prefixLink('/') }> { config.siteAuthor } </Link></h1>
@ -55,4 +55,4 @@ SiteSidebar.propTypes = {
location: React.PropTypes.object,
}
export default SiteSidebar
export default SiteSidebar