Skip to content

Commit

Permalink
Add link to hotspot on eBird.org
Browse files Browse the repository at this point in the history
Closes #7
  • Loading branch information
caseycesari committed Jun 29, 2016
1 parent 3c874df commit b9544db
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/js/components/SightingsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ export default class SightingsList extends Component {
<div>
<Link to="/hotspots" onClick={this.setHotspotId}>&larr; Back to hotspot list</Link>
<h3>{title}</h3>
<h5>
<a href={`http://ebird.org/ebird/hotspot/${this.props.params.hotspotId}`} target="_blank">
View on eBird
</a>
</h5>
{content}
</div>
);
Expand Down

0 comments on commit b9544db

Please sign in to comment.