import { Component, Fragment } from 'react' import { hot } from 'react-hot-loader' import { HashRouter } from 'react-router-dom' // ou BrowserRouter import { Route, Switch, Redirect } from 'react-router' import HomePage from './pages/home'; import { ConnectedLoginPage as LoginPage } from './pages/login'; import DashBoardClient from './pages/DashBoardClient'; import DashBoardDev from './pages/DashBoardDev'; import { ConnectedLogoutPage as LogoutPage } from './pages/logout'; import { connect } from 'react-redux'; import { history } from './util/history'; export class App extends Component { render () { return ( } /> ) } } export const ConnectedApp = connect()(App); export const HotApp = hot(module)(ConnectedApp);