Minor update for the "with-react-ga" example (#10156)

This commit is contained in:
Ev Haus 2020-01-18 16:03:12 -08:00 committed by Luis Alvarez D
parent 0444cb97ba
commit bbf19cd99e

View file

@ -17,7 +17,7 @@ export default class MyApp extends App {
componentDidMount() {
initGA()
logPageView()
Router.router.events.on('routeChangeComplete', logPageView)
Router.events.on('routeChangeComplete', logPageView)
}
render() {