import React, { Component } from 'react' import PropTypes from 'prop-types' import { Route, BrowserRouter, Switch } from 'react-router-dom' import { hot } from 'react-hot-loader' import { withStyles } from '@material-ui/core/styles' import { AcceptTeamInvite, Dashboard, Teams, globalStyles } from './views' class App extends Component { render () { return (
} /> } />
) } } App.propTypes = { auth: PropTypes.object } const StyledApp = withStyles(globalStyles)(App) export default hot(module)(StyledApp)