Skip to content

Commit

Permalink
Fix initial dynamic favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpete committed Mar 2, 2016
1 parent 0ada0d9 commit 3b13a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default class App extends Component {
};
componentDidMount () {
const { params, location } = this.props
updateFavicon(params, location)
updateFavicon(params, location.pathname)
if (window.performance) {
trackTiming('react', 'firstrender', Math.round(window.performance.now()))
}
Expand Down

0 comments on commit 3b13a27

Please sign in to comment.