import React from 'react' import { Redirect, Route, Switch } from 'react-router-dom' import './App.css' import Dashboard from './Dashboard' import Logout from './User/Logout' import NavBar from './NavBar' import Profile from './User/Profile' import UserForm from './User/UserForm' import { isLoggedIn } from '../utils' export default class App extends React.Component { constructor(props) { super(props) this.props = props } render() { return (