Skip to content

Commit

Permalink
fix(twitter): fix refactored twitter link
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Joseph committed Oct 17, 2016
1 parent d327514 commit 7498740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class Header extends Component {
<h1>{ownPage ? null : 'Viewing '}{user.username}'s Living Dex</h1>
<div className="share-container">
<a onClick={this.toggleShare}><i className="fa fa-link"></i></a>
<a href="http://twitter.com/home/?status=Check out {ownPage ? 'my' : user.username + '\'s'} living dex progress on @PokedexTracker! https://pokedextracker.com/u/{user.username}" target="_blank"><i className="fa fa-twitter"></i></a>
<a href={`http://twitter.com/home/?status=Check out ${ownPage ? 'my' : `${user.username}'s`} living dex progress on @PokedexTracker! https://pokedextracker.com/u/${user.username}`} target="_blank"><i className="fa fa-twitter"></i></a>
<ShareComponent show={showShare} username={user.username}></ShareComponent>
</div>

Expand Down

0 comments on commit 7498740

Please sign in to comment.