import { I18nextProvider } from 'react-i18next' import i18next from 'i18next' import React, { Component } from 'react' import './Layout.css' import './reset.css' import { Route, Router, Switch, Redirect } from 'react-router-dom' import Home from 'Components/pages/Home' import RulePage from 'Components/RulePage' import Route404 from 'Components/Route404' import Contact from 'Components/Contact' import RulesList from 'Components/pages/RulesList' import Mecanisms from 'Components/Mecanisms' import Contribution from 'Components/pages/Contribution' import Integration from 'Components/pages/Integration' import About from 'Components/pages/About' import createHistory from 'history/createBrowserHistory' import { Header } from 'Components/pages/Header' export default class Layout extends Component { history = createHistory() render() { let { tracker } = this.props // track the initial pageview tracker.push(['trackPageView']) return ( <>
) } }