mon-entreprise/source/inFranceApp/index.js

20 lines
453 B
JavaScript
Raw Normal View History

2018-06-21 09:52:00 +00:00
import React, { Component } from 'react'
import { Route, Switch } from 'react-router-dom'
import withTracker from '../components/withTracker'
import '../containers/reset.css'
import Landing from './Landing'
class Layout extends Component {
componentDidMount() {
this.props.tracker.push(['trackPageView'])
}
render() {
return (
<Switch>
<Route exact path="/" component={Landing} />
</Switch>
)
}
}
export default withTracker(Layout)